id/Cargo.toml

31 lines
866 B
TOML
Raw Permalink Normal View History

2024-09-20 13:59:04 +00:00
[package]
name = "okid"
2024-09-21 12:02:57 +00:00
version = "0.1.3"
2024-09-20 13:59:04 +00:00
edition = "2021"
publish = ["oksoftware"]
[dependencies]
blake3 = { version = "1.5.4", optional = true }
digest = "0.10.7"
enumflags2 = "0.7.10"
hex = { version = "0.4.3", features = ["serde"] }
serde = { version = "1.0.210", features = ["derive"] }
serde_bytes = "0.11.15"
sha1 = { version = "0.10.6", optional = true }
sha2 = { version = "0.10.8", optional = true }
sha3 = { version = "0.10.8", optional = true }
2024-09-21 12:02:57 +00:00
ulid = { version = "1.1.3", optional = true, features = ["uuid"] }
uuid = { version = "1.10.0", optional = true, features = ["js", "v4"] }
2024-09-20 13:59:04 +00:00
[features]
2024-09-21 12:02:57 +00:00
default = ["sha1", "sha2", "sha3", "blake3", "uuid", "ulid"]
2024-09-20 13:59:04 +00:00
sha1 = ["dep:sha1"]
sha2 = ["dep:sha2"]
sha3 = ["dep:sha3"]
blake3 = ["dep:blake3"]
uuid = ["dep:uuid"]
ulid = ["dep:ulid"]
[dev-dependencies]
insta = { version = "1.40.0", features = ["yaml"] }