kreuzberg 4.9.7

High-performance document intelligence library for Rust. Extract text, metadata, and structured data from PDFs, Office documents, images, and 91+ formats and 248 programming languages via tree-sitter code intelligence with async/sync APIs.
Documentation
//! Telemetry and observability for kreuzberg.
//!
//! This module provides:
//! - **Semantic conventions** ([`conventions`]) — constant attribute and metric
//!   names following the `kreuzberg.*` namespace.
//! - **Span helpers** ([`spans`]) — functions to create properly-attributed
//!   tracing spans (requires `otel` feature).
//! - **Metrics instruments** ([`metrics`]) — counters, histograms, and gauges
//!   for monitoring extraction operations (requires `otel` feature).
//!
//! The `conventions` module is always available (it's just string constants).
//! The `spans` and `metrics` modules are gated behind the `otel` feature.

pub mod conventions;

#[cfg(feature = "otel")]
pub mod metrics;

#[cfg(feature = "otel")]
pub mod spans;