-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
60 lines (53 loc) · 1.65 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "hpke-dispatch"
version = "0.7.0"
edition = "2021"
description = "runtime algorithmic selection for hybrid public key encryption"
license = "MPL-2.0"
repository = "https://github.com/divviup/hpke-dispatch"
readme = "./README.md"
keywords = ["hpke", "encryption"]
categories = ["cryptography"]
[features]
cfg_eval = []
base-mode-open = []
base-mode-seal = []
serde = ["serde_crate"]
algo-all = ["aead-all", "kdf-all", "kem-all"]
default = ["algo-all", "base-mode-seal", "base-mode-open"]
aead-all = ["aead-aes-gcm-128", "aead-aes-gcm-256", "aead-chacha-20-poly-1305"]
aead-aes-gcm-128 = []
aead-aes-gcm-256 = []
aead-chacha-20-poly-1305 = []
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"]
[dependencies]
rand = "0.8.5"
num_enum = "0.7.0"
cfg-if = "1.0.0"
hpke = { version = "0.12.0", default-features = false, features = ["std"] }
zeroize = "1.6"
[dependencies.serde_crate]
version = "1.0.185"
features = ["derive"]
optional = true
package = "serde"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.87"
getrandom = { version = "0.2.10", features = ["js", "js-sys"] }
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
lto = true
[dev-dependencies]
hex = { version = "0.4.3", features = ["serde"] }
serde = { version = "1.0.185", features = ["derive"] }
serde_json = "1.0.105"
wasm-bindgen-test = "0.3.37"