mirror of
https://github.com/zerotier/zssp.git
synced 2026-05-22 16:28:40 -07:00
34 lines
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[package]
|
|
authors = ["ZeroTier, Inc. <contact@zerotier.com>", "Adam Ierymenko <adam.ierymenko@zerotier.com>", "Monica Moniot <monica.moniot@zerotier.com>"]
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
name = "zssp-proto"
|
|
version = "0.1.0"
|
|
|
|
[lib]
|
|
name = "zssp_proto"
|
|
path = "src/lib.rs"
|
|
doc = true
|
|
|
|
[dependencies]
|
|
rand_core = { version = "0.6.4" }
|
|
zeroize = { version = "1.6.0" }
|
|
pqc_kyber = { version = "0.7.1", default-features = false, features = ["kyber1024", "std"], optional = true }
|
|
aes-gcm = { version = "0.10.2", default-features = false, features = ["aes"], optional = true }
|
|
aes = { version = "0.8.3", default-features = false, optional = true }
|
|
p384 = { version = "0.13.0", default-features = false, features = ["ecdh"], optional = true }
|
|
sha2 = { version = "0.10.7", default-features = false, optional = true }
|
|
hmac = { version = "0.12.1", default-features = false, optional = true }
|
|
|
|
[features]
|
|
default = ["debug", "aes-gcm", "p384", "hmac", "pqc_kyber"]
|
|
aes = ["dep:aes"]
|
|
aes-gcm = ["dep:aes-gcm", "aes"]
|
|
sha2 = ["dep:sha2"]
|
|
hmac = ["dep:hmac", "sha2"]
|
|
logging = []
|
|
debug = ["logging"]
|
|
|
|
[dev-dependencies]
|
|
rand_core = { version = "0.6.4", features = ["getrandom"] }
|