This repository has been archived on 2022-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
nrid.rs/Cargo.toml

22 lines
728 B
TOML

[package]
name = "nrid"
version = "0.3.0"
authors = ["Michael Pfaff <michael@pfaff.dev>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[features]
default = [ ]
chrono = [ "dep:chrono" ]
serde = [ "dep:serde" ]
# the source of the timestamp is an implementation detail, so a feature is required for the From impl
time = [ ]
[dependencies]
chrono = { version = "0.4.19", default-features = false, optional = true }
rand = { version = "0.8.5", default-features = false, features = [ "getrandom" ] }
serde = { version = "1", default-features = false, features = [ "derive" ], optional = true }
thiserror = { version = "1", default-features = false }
time = { version = "0.3.9", default-features = false, features = [ "std" ] }