diff options
author | hozan23 <hozan23@proton.me> | 2023-11-29 11:44:53 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-11-29 11:44:53 +0300 |
commit | 63e8b2fa6b5d4d9bf1ba9234bff0be8a255e612e (patch) | |
tree | d8291050228c7e23bdc9a7195df4505db0df1f93 /core/Cargo.toml | |
parent | 57ac163a06b7f4b00d9cfd56d0ab6ee6a49adb56 (diff) |
core: Move `key_pair` to the `crypto` module and make it a Cargo feature.
Diffstat (limited to 'core/Cargo.toml')
-rw-r--r-- | core/Cargo.toml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 5a99e2d..3c8cb9c 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -16,7 +16,12 @@ rand = "0.8.5" thiserror = "1.0.47" dirs = "5.0.1" async-task = "4.5.0" -ed25519-dalek = { version = "2.1.0", features = ["rand_core"]} +ed25519-dalek = { version = "2.1.0", features = ["rand_core"], optional = true} + + +[features] +default = [] +crypto = ["dep:ed25519-dalek"] |