bento-kit 0.1.1

A bento box of common Rust utilities: id generation, timing, masking
Documentation
//! # bento-kit
//!
//! A bento box of common Rust utilities, packaged as a single crate with
//! cargo features so you only pull in what you use.
//!
//! ## Features
//!
//! | feature  | what it gives you                                    | default |
//! |----------|------------------------------------------------------|---------|
//! | `id`     | UUID v4/v7 + nanoid + request-id helpers             | yes     |
//! | `time`   | Multi-tag profiler + timestamp formatting            | yes     |
//! | `mask`   | Sensitive-data masking (phone, email, token, ...)    | yes     |
//! | `full`   | Enables every module above (alias for default)       | no      |
//!
//! ## Example
//!
//! ```toml
//! bento-kit = "0.1"                            # default features
//! bento-kit = { version = "0.1", default-features = false, features = ["id"] }
//! ```

#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![forbid(unsafe_code)]

#[cfg(feature = "id")]
#[cfg_attr(docsrs, doc(cfg(feature = "id")))]
pub mod id;

#[cfg(feature = "time")]
#[cfg_attr(docsrs, doc(cfg(feature = "time")))]
pub mod time;

#[cfg(feature = "mask")]
#[cfg_attr(docsrs, doc(cfg(feature = "mask")))]
pub mod mask;