[package] name = "dilithium-raw" version = "0.1.0" edition = "2021" build = "build.rs" description = "Low level library for dilithium signatures" license-file = "COPYING" readme = "README.md" categories = ["cryptography"] keywords = ["crypto", "post-quantum", "signature", "signing", "dilithium"] repository = "https://github.com/niluxv/dilithium-raw" include = ["src/**/*", "extern/**/*", "build.rs", "COPYING", "LICENSE.*", "README.md"] [package.metadata.docs.rs] all-features = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["dilithium2", "dilithium3", "dilithium5", "avx2", "aarch64"] # enable dilithium 2 dilithium2 = [] # enable dilithium 3 dilithium3 = [] # enable dilithium 5 dilithium5 = [] # enable the avx2 implementation on x86_64 targets for CPUs with avx2 support avx2 = [] # enable the aarch64/neon implementation on aarch64 targets aarch64 = [] # serialize and deserialize keys and signatures using serde serde = ["dep:serde"] # extra hazardous material; gives more control hazmat = [] [dependencies] cty = "0.2" serde = { version = "1.0", optional = true, features = ["derive"] } [dev-dependencies] serde_test = "1.0" rand = "0.8" ron = "0.7" zeroize = "1.5" [build-dependencies] cc = "1.0" glob = "0.3"