[package]
edition = "2024"
rust-version = "1.94.1"
name = "lib-q-ring"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared ring arithmetic (R_q = Z_q[X]/(X^n+1)) for FIPS 204 lattice primitives"
readme = "README.md"
keywords = [
"cryptography",
"post-quantum",
"lattice",
"ml-dsa",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0"
[features]
alloc = ["lib-q-sha3/alloc"]
default = ["alloc"]
std = ["alloc"]
[lib]
name = "lib_q_ring"
crate-type = ["rlib"]
path = "src/lib.rs"
[dependencies.lib-q-sha3]
version = "0.0.2"
default-features = false
[dependencies.rand_core]
version = "0.10.1"
default-features = false
[dependencies.subtle]
version = "2.6.1"
default-features = false
[dependencies.zeroize]
version = "1.8.2"
features = [
"derive",
"alloc",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hex]
version = "0.4.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.lib-q-random]
version = "0.0.2"
features = ["std"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.proptest]
version = "1.11.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand_core]
version = "0.10.1"
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]