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
//! # SNID - Polyglot Sortable Identifier Protocol
//!
//! SNID provides 128-bit time-ordered identifiers compatible with UUID v7,
//! plus extended families for spatial, neural, ledger, and capability use cases.
//!
//! ## Basic Usage
//!
//! ```no_run
//! use snid::Snid;
//!
//! let id = Snid::new_fast();
//! let wire = id.to_wire("MAT").unwrap();
//! let (parsed, atom) = Snid::parse_wire(&wire).unwrap();
//! ```
//!
//! ## Extended Identifier Families
//!
//! - **Snid** - Core 128-bit time-ordered ID (UUID v7 compatible)
//! - **Sgid** - Spatial ID with H3 geospatial encoding
//! - **Nid** - Neural ID with semantic tail for vector search
//! - **Lid** - Ledger ID with HMAC verification tail
//! - **Wid** - World/scenario ID for simulation isolation
//! - **Xid** - Edge ID for relationship identity
//! - **Kid** - Capability ID with MAC-based verification
//! - **Eid** - Ephemeral 64-bit ID
//! - **Bid** - Content-addressable ID (topology + content hash)
//! - **Akid** - Dual-part public+secret credentials (access keys)
//! - **GrantId** - Tamper-proof capability grants with expiration
//! - **ScopeId** - Logical group routing (tenant/region)
//! - **ShardId** - Fixed shard key routing
//! - **AliasId** - Human-readable aliases
//! - **ShortId** - 64-bit compact identifiers
//! - **TraceId** - W3C/OpenTelemetry compatible trace IDs
//!
//! ## Features
//!
//! - `data` - Enable serde serialization and JSON support
//!
//! For protocol specification, see <https://github.com/LastMile-Innovations/snid/blob/main/docs/SPEC.md>
// Module declarations
// Public re-exports
pub use Akid;
pub use ;
pub use VectorFile;
pub use Snid;
pub use ;
pub use Error;
pub use TurboStreamer;
pub use ;
pub use ;