[package] name = "citadel_pqcrypto" version = "0.9.0" authors = ["Thomas Braun "] description = "Lower-level cryptographic library for the Citadel Protocol" edition = "2021" homepage = "https://avarok.net/" repository = "https://github.com/Avarok-Cybersecurity/Citadel-Protocol" readme = "../README.md" categories = ["cryptography", "network-programming", "asynchronous"] license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html exclude = [ "./target/*" ] [features] default = ["std"] std = [ "serde/std", "aes-gcm/std", "aes-gcm/alloc", "chacha20poly1305/alloc", "chacha20poly1305/std", "bytes/std", "kyber-pke/std", "pqcrypto-falcon-wasi/std", "pqcrypto-traits-wasi/std", "rand/std", "sha3/std" ] wasm = [] [dependencies] generic-array = { workspace = true, features = ["serde"] } serde = { workspace = true, features = ["derive", "rc"] } bincode2 = { workspace = true } aes-gcm = { workspace = true, features = ["heapless", "aes", "alloc"]} chacha20poly1305 = { workspace = true, features = ["heapless", "alloc"] } bytes = { workspace = true } parking_lot = { workspace = true, features = ["serde"] } log = { workspace = true } sha3 = { workspace = true } kyber-pke = { workspace = true, features=["90s"] } rand = { workspace = true } serde-big-array = { workspace = true } ascon-aead = { workspace = true } zeroize = { workspace = true, features = ["zeroize_derive", "alloc", "serde"] } citadel_types = { workspace = true } [target.'cfg(not(target_family = "wasm"))'.dependencies] oqs = { workspace = true, features = ["serde", "falcon", "ntruprime"] } [target.'cfg(target_family = "wasm")'.dependencies] pqcrypto-falcon-wasi = { workspace = true, features = ["serialization", "avx2"] } pqcrypto-traits-wasi = { workspace = true } [lib] doctest = false