tnid 0.0.8

A UUID compatible ID with static type checking
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 = "2024"
name = "tnid"
version = "0.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A UUID compatible ID with static type checking"
documentation = "https://docs.rs/tnid"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mkeedlinger/tnid-rust"
resolver = "2"

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

[features]
default = [
    "time",
    "rand",
]
encryption = [
    "dep:aes",
    "dep:fpe",
]
internals = []
rand = ["dep:rand"]
serde = ["dep:serde"]
sqlx-mysql = [
    "dep:sqlx",
    "sqlx/mysql",
]
sqlx-postgres = [
    "dep:sqlx",
    "sqlx/postgres",
]
sqlx-sqlite = [
    "dep:sqlx",
    "sqlx/sqlite",
]
time = ["dep:time"]
uuid = ["dep:uuid"]

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

[dependencies.aes]
version = "0.8.4"
optional = true

[dependencies.fpe]
version = "0.6.1"
optional = true

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

[dependencies.serde]
version = "1"
optional = true

[dependencies.sqlx]
version = "0.8.3"
optional = true
default-features = false

[dependencies.time]
version = "0.3.36"
optional = true

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.bincode]
version = "1"

[dev-dependencies.proptest]
version = "1.9.0"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.uuid]
version = "1"
features = ["v4"]