[package] name = "wasi-crypto" version = "0.1.14" authors = ["Frank Denis "] edition = "2018" description = "Experimental implementation of the WASI cryptography APIs" documentation = "https://docs.rs/wasi-crypto" license-file = "LICENSE" readme = "README.md" categories = ["wasm", "cryptography"] keywords = ["webassembly", "wasm", "wasi", "crypto"] repository = "https://github.com/wasm-crypto/wasi-crypto-host-functions" [dependencies] aes-gcm = "0.10.2" anyhow = "1.0.75" bincode = "1.3.3" boring = { version = "3.1.0" } byteorder = "1.4.3" chacha20poly1305 = "0.10.1" derivative = "2.2.0" ed25519-compact = { version = "2.0.4", features = ["x25519"] } hkdf = "0.12.3" hmac = "0.12.1" k256 = { version = "0.13.1", features = ["ecdsa", "std", "pkcs8", "pem"] } p256 = { version = "0.13.2", features = ["ecdsa", "std", "pkcs8", "pem"] } p384 = { version = "0.13.0", features = ["ecdsa", "std", "pkcs8", "pem"] } pqcrypto-traits = { version = "0.3.4", optional = true } pqcrypto-kyber = { version = "0.7.6", optional = true } rand_core = { version = "0.6.4", features = [ "getrandom", ], package = "rand_core" } serde = { version = "1.0.188", features = ["derive"] } sha2 = "0.10.7" subtle = "2.5.0" thiserror = "1.0.48" xoodyak = "0.8.4" zeroize = { version = "1.6.0", features = ["derive"] } # IMPORTANT: Change to the path of the "wiggle" directory located in # the wasmtime source code. # Unfortunately, Cargo requires the directory to be present even if the # feature is not enabled. #wiggle = { path = "../../../crates/wiggle", version = "12", optional = true } wiggle = { version = "12.0.2", optional = true } [features] default = ["pqcrypto"] pqcrypto = ["pqcrypto-traits", "pqcrypto-kyber"] wasmtime = ["wiggle"] [badges] maintenance = { status = "experimental" }