otelite_receiver/lib.rs
1//! Otelite OTLP Receiver
2//!
3//! This crate provides OpenTelemetry Protocol (OTLP) receiver functionality,
4//! supporting both gRPC and HTTP transports with Protobuf and JSON encodings.
5
6// Module declarations
7pub mod config;
8pub mod conversion;
9pub mod error;
10pub mod grpc;
11pub mod health;
12pub mod http;
13pub mod protocol;
14pub mod signals;
15
16// Re-exports for convenience
17pub use config::ReceiverConfig;
18pub use error::{ReceiverError, Result};
19
20#[cfg(test)]
21mod tests {
22 use super::*;
23
24 #[test]
25 fn test_module_structure() {
26 // Basic smoke test to ensure modules compile
27 let _config = ReceiverConfig::default();
28 }
29}