# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "hpke-dispatch" version = "0.7.0" description = "runtime algorithmic selection for hybrid public key encryption" readme = "README.md" keywords = [ "hpke", "encryption", ] categories = ["cryptography"] license = "MPL-2.0" repository = "https://github.com/divviup/hpke-dispatch" [profile.release] lto = true [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.hpke] version = "0.12.0" features = ["std"] default-features = false [dependencies.num_enum] version = "0.7.0" [dependencies.rand] version = "0.8.5" [dependencies.serde_crate] version = "1.0.185" features = ["derive"] optional = true package = "serde" [dependencies.zeroize] version = "1.6" [dev-dependencies.hex] version = "0.4.3" features = ["serde"] [dev-dependencies.serde] version = "1.0.185" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.105" [dev-dependencies.wasm-bindgen-test] version = "0.3.37" [features] aead-aes-gcm-128 = [] aead-aes-gcm-256 = [] aead-all = [ "aead-aes-gcm-128", "aead-aes-gcm-256", "aead-chacha-20-poly-1305", ] aead-chacha-20-poly-1305 = [] algo-all = [ "aead-all", "kdf-all", "kem-all", ] base-mode-open = [] base-mode-seal = [] cfg_eval = [] default = [ "algo-all", "base-mode-seal", "base-mode-open", ] kdf-all = [ "kdf-sha256", "kdf-sha384", "kdf-sha512", ] kdf-sha256 = [] kdf-sha384 = [] kdf-sha512 = [] kem-all = [ "kem-dh-p256-hkdf-sha256", "kem-dh-p384-hkdf-sha384", "kem-dh-p521-hkdf-sha512", "kem-x25519-hkdf-sha256", ] kem-dh-p256-hkdf-sha256 = ["hpke/p256"] kem-dh-p384-hkdf-sha384 = ["hpke/p384"] kem-dh-p521-hkdf-sha512 = ["hpke/p521"] kem-x25519-hkdf-sha256 = ["hpke/x25519"] serde = ["serde_crate"] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.10" features = [ "js", "js-sys", ] [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.87"