bento-kit 0.1.1

A bento box of common Rust utilities: id generation, timing, masking
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.74"
name = "bento-kit"
version = "0.1.1"
authors = ["imcooder <imcooder@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bento box of common Rust utilities: id generation, timing, masking"
homepage = "https://github.com/imcooder/bento-kit-rs"
documentation = "https://docs.rs/bento-kit"
readme = "README.md"
keywords = [
    "utility",
    "uuid",
    "nanoid",
    "mask",
    "profiler",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imcooder/bento-kit-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "id",
    "time",
    "mask",
]
full = [
    "id",
    "time",
    "mask",
]
id = [
    "dep:uuid",
    "dep:nanoid",
    "dep:rand",
]
mask = []
time = ["dep:chrono"]

[lib]
name = "bento_kit"
path = "src/lib.rs"

[[example]]
name = "id_demo"
path = "examples/id_demo.rs"

[[example]]
name = "mask_demo"
path = "examples/mask_demo.rs"

[[example]]
name = "time_demo"
path = "examples/time_demo.rs"

[[test]]
name = "id"
path = "tests/id.rs"

[[test]]
name = "mask"
path = "tests/mask.rs"

[[test]]
name = "time"
path = "tests/time.rs"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false

[dependencies.nanoid]
version = "0.4"
optional = true

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.uuid]
version = ">=1, <1.12"
features = [
    "v4",
    "v7",
]
optional = true