id/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2024-11-06 11:02:20 +00:00
[package]
2024-09-20 13:59:04 +00:00
name = "okid"
2024-11-10 11:48:42 +00:00
version = "0.4.1"
2024-11-06 11:02:20 +00:00
edition = "2021"
2024-11-06 11:03:31 +00:00
readme = "README.md"
description = "A library for gereating double clickable ids"
license = "BSD-3-Clause"
2024-11-06 11:02:20 +00:00
[dependencies]
2024-11-06 11:03:31 +00:00
async-graphql = { version = "7.0.11", optional = true }
2024-09-20 13:59:04 +00:00
blake3 = { version = "1.5.4", optional = true }
2024-11-06 11:03:31 +00:00
bytes = { version = "1.7.2", features = ["serde"] }
2024-09-20 13:59:04 +00:00
digest = "0.10.7"
enumflags2 = "0.7.10"
2024-11-06 11:03:31 +00:00
git2 = { version = "0.18.3", optional = true, default-features = false }
2024-09-20 13:59:04 +00:00
hex = { version = "0.4.3", features = ["serde"] }
2024-11-06 13:04:34 +00:00
jetstream_wireformat = "6.0.0"
2024-11-20 15:54:45 +00:00
mac_address = { version = "1.1.7", optional = true }
2024-09-20 13:59:04 +00:00
serde = { version = "1.0.210", features = ["derive"] }
2024-11-06 11:03:31 +00:00
serde_json = "1.0.128"
2024-09-20 13:59:04 +00:00
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"] }
2024-11-06 11:03:31 +00:00
utoipa = { version = "^5.0.0-beta.0", optional = true }
2024-09-21 12:02:57 +00:00
uuid = { version = "1.10.0", optional = true, features = ["js", "v4"] }
2024-09-20 13:59:04 +00:00
[features]
2024-11-06 11:03:31 +00:00
default = ["sha1", "sha2", "sha3", "blake3", "uuid", "ulid", "openapi"]
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"]
2024-11-06 11:03:31 +00:00
openapi = ["dep:utoipa"]
git = ["dep:git2"]
graphql = ["dep:async-graphql"]
2024-11-20 15:54:45 +00:00
node = ["dep:mac_address"]
2024-09-20 13:59:04 +00:00
[dev-dependencies]
insta = { version = "1.40.0", features = ["yaml"] }