Lightweight tagged data library.
at main 30 lines 779 B view raw
1//! A Rust crate for creating and managing tags and their relationships. 2//! 3//! "Tags" are string data which may or may not contain some structure, like 4//! key-value pairs or multipart segments, and which are attached as metadata 5//! to annotate data for organization. 6//! 7//! This crate defines a set of mechanisms for generically parsing, storing, 8//! comparing, and querying sets of tags according to configured policies. 9 10pub mod error; 11pub mod label; 12mod manager; 13pub mod parse; 14pub mod query; 15pub mod storage; 16pub mod tag; 17#[cfg(test)] 18mod test; 19 20pub use crate::manager::TagManager; 21 22pub mod builder { 23 //! Contains a builder type for the [`TagManager`]. 24 25 #[cfg(doc)] 26 use crate::TagManager; 27 28 #[doc(inline)] 29 pub use crate::manager::TagManagerBuilder; 30}