1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
//! # LNMP - LLM Native Minimal Protocol
//!
//! This is a meta crate that re-exports all LNMP modules, providing a unified entry point
//! for users who want to work with the complete LNMP ecosystem without managing individual
//! module dependencies.
//!
//! ## Quick Start
//!
//! Add this to your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! lnmp = "0.5.13"
//! ```
//!
//! ## Available Modules
//!
//! - **`core`**: Core type definitions and protocol structures
//! - **`codec`**: Encoding and decoding functionality
//! - **`embedding`**: Embedding vector operations and delta compression
//! - **`llb`**: Large Language Block operations
//! - **`quant`**: Quantization utilities for efficient data representation
//! - **`sanitize`**: Data sanitization and validation
//! - **`sfe`**: Secure Function Evaluation primitives
//! - **`spatial`**: Spatial data streaming and hybrid protocols
//! - **`transport`**: Transport protocol bindings (HTTP, Kafka, gRPC, NATS) with W3C Trace Context
//! - **`net`**: Network behavior layer (MessageKind, QoS, ECO routing)
//!
//! ## Usage Examples
//!
//! ```rust
//! // Access core types
//! use lnmp::core::{LnmpRecord, LnmpField, LnmpValue};
//!
//! // Use codec functionality
//! use lnmp::codec::{Encoder, Parser};
//!
//! // Work with embeddings
//! use lnmp::embedding::{VectorDelta, Vector, EmbeddingType};
//!
//! // Use spatial streaming
//! use lnmp::spatial::protocol::SpatialStreamer;
//!
//! // Use network routing
//! use lnmp::net::{NetMessage, MessageKind};
//! ```
//!
//! ## Individual Module Usage
//!
//! If you prefer to use only specific modules, you can depend on them individually:
//!
//! - `lnmp-core` - Core protocol definitions
//! - `lnmp-codec` - Encoding/decoding
//! - `lnmp-embedding` - Embedding operations
//! - `lnmp-llb` - Large Language Blocks
//! - `lnmp-quant` - Quantization
//! - `lnmp-sanitize` - Sanitization
//! - `lnmp-sfe` - Secure Function Evaluation
//! - `lnmp-spatial` - Spatial streaming
//! - `lnmp-transport` - Transport bindings
//! - `lnmp-net` - Network behavior layer
//!
//! ## Documentation
//!
//! For detailed documentation on each module, visit:
//! - [LNMP Protocol Documentation](https://lnmp.io)
//! - [GitHub Repository](https://github.com/lnmplang/lnmp-protocol)
// Re-export all LNMP modules
pub use lnmp_codec as codec;
pub use lnmp_core as core;
pub use lnmp_embedding as embedding;
pub use lnmp_envelope as envelope;
pub use lnmp_llb as llb;
pub use lnmp_net as net;
pub use lnmp_quant as quant;
pub use lnmp_sanitize as sanitize;
pub use lnmp_sfe as sfe;
pub use lnmp_spatial as spatial;
pub use lnmp_transport as transport;
// Re-export commonly used types for convenience
// WASM bindings (only when wasm feature is enabled)