[package]
edition = "2024"
name = "dat"
version = "4.6.1"
authors = ["marker <j@saro.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DAT - Distributed Access Token"
homepage = "https://dat.saro.me/"
documentation = "https://dat.saro.me/libs/cargo-dat"
readme = "README.md"
keywords = [
"dat",
"distributed",
"access",
"token",
"session",
]
license = "MIT"
repository = "https://github.com/saro-lab/dat"
[features]
dat_cms = [
"dep:tokio",
"dep:reqwest",
]
default = []
full = [
"dat_cms",
"tracing",
]
tracing = ["dep:tracing"]
[lib]
name = "dat"
path = "src/lib.rs"
[[test]]
name = "bench_b64_test"
path = "tests/bench_b64_test.rs"
[[test]]
name = "bench_crypto_test"
path = "tests/bench_crypto_test.rs"
[[test]]
name = "bench_ecdsa_test"
path = "tests/bench_ecdsa_test.rs"
[[test]]
name = "bench_test"
path = "tests/bench_test.rs"
[[test]]
name = "certificate_test"
path = "tests/certificate_test.rs"
[[test]]
name = "crypto_test"
path = "tests/crypto_test.rs"
[[test]]
name = "error_code_test"
path = "tests/error_code_test.rs"
[[test]]
name = "example_cms_manager_test"
path = "tests/example_cms_manager_test.rs"
[[test]]
name = "gen_interop_vector"
path = "tests/gen_interop_vector.rs"
[[test]]
name = "hard_test"
path = "tests/hard_test.rs"
[[test]]
name = "manager_test"
path = "tests/manager_test.rs"
[[test]]
name = "signature_test"
path = "tests/signature_test.rs"
[[test]]
name = "strictness_test"
path = "tests/strictness_test.rs"
[dependencies.aes]
version = "0.9.2"
features = ["zeroize"]
[dependencies.aes-gcm]
version = "0.11.0"
features = ["zeroize"]
[dependencies.base64]
version = "0.23.1"
features = [
"alloc",
"std",
]
[dependencies.itertools]
version = "0.15.0"
[dependencies.itoa]
version = "1.0.18"
[dependencies.reqwest]
version = "0.13.4"
features = [
"native-tls-vendored",
"query",
]
optional = true
default-features = false
[dependencies.tokio]
version = "1.53.1"
features = ["time"]
optional = true
default-features = false
[dependencies.tracing]
version = "0.1.44"
optional = true
[dependencies.zeroize]
version = "1.9.0"
[dev-dependencies.rand]
version = "0.10.2"
[dev-dependencies.ring]
version = "0.17.14"
[dev-dependencies.tokio]
version = "1.53.1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[target."cfg(not(windows))".dependencies.aws-lc-rs]
version = "1.18.0"
[target."cfg(windows)".dependencies.aws-lc-rs]
version = "1.18.0"
features = ["prebuilt-nasm"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"