mirror of
https://github.com/urbit/ares.git
synced 2024-11-23 09:06:23 +03:00
28 lines
1011 B
TOML
28 lines
1011 B
TOML
[package]
|
|
name = "ares-crypto"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
assert_no_alloc = "1.1.2"
|
|
# use this when debugging requires allocation (e.g. eprintln)
|
|
# assert_no_alloc = {version="1.1.2", features=["warn_debug"]}
|
|
aes-siv = { version = "0.7.0", features = ["heapless"], default-features = false }
|
|
curve25519-dalek = "4.1.1"
|
|
ed25519-dalek = { version = "2.1.0", features = ["digest", "pkcs8", "rand_core"], default-features = false }
|
|
ed25519 = { version = "2.2.3" }
|
|
ibig = "0.3.6"
|
|
rand = { version = "0.8.5", features = ["std_rng"], default-features = false }
|
|
sha2 = "0.10.8"
|
|
urcrypt-sys = { version = "0.1.1", optional = true }
|
|
x25519-dalek = { version = "2.0.0", features = ["static_secrets"], default-features = false }
|
|
|
|
[features]
|
|
# XX turn off test_vs_urcrypt after development
|
|
default = ["aes_siv", "ed25519", "test_vs_urcrypt"]
|
|
aes_siv = []
|
|
ed25519 = []
|
|
test_vs_urcrypt = ["urcrypt-sys"]
|