-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
42 lines (39 loc) · 1.66 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
[package]
name = "substrate-crypto-light"
description = "Cryptographic code for Substrate chains in pure rust with better baremetal support"
license = "GPL-3.0-or-later"
version = "0.2.0"
authors = [
"Alexander Slesarev <slesarew@gmail.com>",
"Vera Abramova <abramova.vera@gmail.com>",
]
repository = "https://github.com/Alzymologist/substrate-crypto-light"
homepage = "https://github.com/Alzymologist/substrate-crypto-light"
documentation = "https://docs.rs/substrate-crypto-light"
keywords = ["no_std", "crypto", "substrate", "polkadot"]
edition = "2021"
exclude = ["/for_tests", "/.github"]
[dependencies]
base58 = {version = "0.2.0"}
blake2b_simd = {version = "1.0.2", default-features = false}
ed25519-zebra = {version = "4.0.3", default-features = false, optional = true}
hmac = "0.12.1"
k256 = {version = "0.13.3", default-features = false, features = ["alloc", "ecdsa"], optional = true}
lazy_static = {version = "1.4.0", default-features = false, features = ["spin_no_std"]}
parity-scale-codec = {version = "3.6.9", default-features = false, features = ["derive"]}
pbkdf2 = {version = "0.12.2", default-features = false}
rand_core = {version = "0.6.4", default-features = false, optional = true}
regex = {version = "1.10.3", default-features = false}
schnorrkel = {version = "0.11.4", default-features = false, optional = true}
sha2 = {version = "0.10.8", default-features = false}
zeroize = {version = "1.7.0", features = ["derive"]}
[dev-dependencies]
hex = "0.4.3"
mnemonic-external = "0.1.0"
sp-core = "35.0.0"
[features]
default = ["ed25519", "ecdsa", "sr25519", "std"]
ecdsa = ["k256"]
ed25519 = ["ed25519-zebra"]
sr25519 = ["rand_core", "schnorrkel"]
std = ["schnorrkel/std"]