dat 2.4.0

DAT - Distributed Access Token
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 = "dat"
version = "2.4.0"
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-rust"

[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 = "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"

[dependencies.aes-gcm]
version = "0.11.0-rc.3"

[dependencies.base64]
version = "0.22.1"
features = [
    "alloc",
    "std",
]

[dependencies.itertools]
version = "0.14.0"

[dependencies.itoa]
version = "1.0.18"

[dependencies.p256]
version = "0.14.0-rc.9"
features = [
    "ecdsa",
    "pkcs8",
]

[dependencies.p384]
version = "0.14.0-rc.9"
features = [
    "ecdsa",
    "pkcs8",
]

[dependencies.p521]
version = "0.14.0-rc.9"
features = [
    "ecdsa",
    "pkcs8",
]

[dependencies.rand]
version = "0.10.1"

[dependencies.strum]
version = "0.28.0"

[dependencies.strum_macros]
version = "0.28.0"

[dev-dependencies.ring]
version = "0.17.14"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]

[target."cfg(not(windows))".dependencies.aws-lc-rs]
version = "1.17.0"

[target."cfg(windows)".dependencies.aws-lc-rs]
version = "1.17.0"
features = ["prebuilt-nasm"]

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"