[package]
edition = "2024"
rust-version = "1.90"
name = "rind"
version = "0.1.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust cryptography for MoQ, forked from graviola"
readme = "README.md"
categories = [
"network-programming",
"cryptography",
]
license = "(Apache-2.0 OR ISC OR MIT-0) AND (Apache-2.0 OR ISC OR MIT) AND Apache-2.0 AND ISC"
repository = "https://github.com/moq-dev/rind"
resolver = "2"
[features]
__ctgrind = ["dep:crabgrind"]
default = []
[lib]
name = "rind"
path = "src/lib.rs"
[[test]]
name = "cpu"
path = "tests/cpu.rs"
[[test]]
name = "crosschecks"
path = "tests/crosschecks.rs"
[[test]]
name = "wycheproof"
path = "tests/wycheproof.rs"
[[test]]
name = "zeroing"
path = "tests/zeroing.rs"
[dependencies.cfg-if]
version = "1"
[dependencies.crabgrind]
version = "0.4"
optional = true
[dependencies.getrandom]
version = "0.4"
[dev-dependencies.aws-lc-rs]
version = "1.16"
features = [
"alloc",
"prebuilt-nasm",
"non-fips",
]
default-features = false
[dev-dependencies.aws-lc-sys]
version = "0.47"
default-features = false
[dev-dependencies.fiat-crypto]
version = "0.3"
default-features = false
[dev-dependencies.hex]
version = "0.4"
features = ["serde"]
[dev-dependencies.proptest]
version = "1.5.0"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[target.'cfg(all(target_arch = "arm", any(target_os = "linux", target_os = "android")))'.dependencies.libc]
version = "0.2"
default-features = false
[target.'cfg(target_arch = "arm")'.dependencies.curve25519-dalek]
version = "5"
features = ["precomputed-tables"]
default-features = false
[target.'cfg(target_arch = "arm")'.dependencies.fiat-crypto]
version = "0.3"
default-features = false
[target.'cfg(target_arch = "arm")'.dependencies.libcrux-aes]
version = "0.0.10"
default-features = false
[target.'cfg(target_arch = "arm")'.dependencies.libcrux-hacl-rs]
version = "0.0.6"
features = ["alloc"]
[target.'cfg(target_arch = "arm")'.dependencies.libcrux-macros]
version = "0.0.4"
[target.'cfg(target_arch = "arm")'.dependencies.libcrux-poly1305]
version = "0.0.7"
features = ["expose-hacl"]
[target.'cfg(target_arch = "arm")'.dependencies.libcrux-traits]
version = "0.0.9"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage_nightly)",
"cfg(rind_cpu_disable)",
'cfg(curve25519_dalek_bits, values("32", "64"))',
'cfg(curve25519_dalek_backend, values("fiat", "serial", "simd", "avx512"))',
]