7d82fe0c0d
* Added abci::Data field to ExecuteResult * optional serde support for ed25519 keys * optional serde support for x25519 keys * actually calling dotenv at validator API startup * Added STATE_DENOM network specific constant * unit test fixes
39 lines
1.5 KiB
TOML
39 lines
1.5 KiB
TOML
[package]
|
|
name = "crypto"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
aes = { version = "0.8.1", optional = true }
|
|
bs58 = "0.4.0"
|
|
blake3 = { version = "1.3.1", features = ["traits-preview"], optional = true }
|
|
ctr = { version = "0.9.1", optional = true }
|
|
digest = { version = "0.10.3", optional = true }
|
|
generic-array = { version = "0.14", optional = true }
|
|
hkdf = { version = "0.12.3", optional = true }
|
|
hmac = { version = "0.12.1", optional = true }
|
|
cipher = { version = "0.4.3", optional = true }
|
|
x25519-dalek = { version = "1.1", optional = true }
|
|
ed25519-dalek = { version = "1.0", optional = true }
|
|
rand = { version = "0.7.3", features = ["wasm-bindgen"], optional = true }
|
|
serde_bytes = { version = "0.11.6", optional = true }
|
|
serde_crate = { version = "1.0", optional = true, default_features = false, package = "serde" }
|
|
subtle-encoding = { version = "0.5", features = ["bech32-preview"]}
|
|
|
|
# internal
|
|
nymsphinx-types = { path = "../nymsphinx/types" }
|
|
pemstore = { path = "../../common/pemstore" }
|
|
config = { path="../../common/config" }
|
|
|
|
[dev-dependencies]
|
|
rand_chacha = "0.2"
|
|
|
|
[features]
|
|
serde = ["serde_crate", "serde_bytes", "ed25519-dalek/serde", "x25519-dalek/serde"]
|
|
asymmetric = ["x25519-dalek", "ed25519-dalek"]
|
|
hashing = ["blake3", "digest", "hkdf", "hmac", "generic-array"]
|
|
symmetric = ["aes", "ctr", "cipher", "generic-array"]
|