-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (50 loc) · 2.64 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
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
authors = ["LIT Protocol Team"]
categories = ["cryptography"]
description = "Hierarchical Derived keys for LIT Protocol"
documentation = "https://docs.rs/hd-keys-curves-wasm"
edition = "2021"
homepage = "https://github.com/LIT-Protocol/hd-keys-curves-wasm"
keywords = ["hierarchical", "bip32", "lit", "wasm", "key"]
license = "Apache-2.0 OR MIT"
name = "hd-keys-curves-wasm"
readme = "README.md"
repository = "https://github.com/LIT-Protocol/hd-keys-curves-wasm"
version = "1.0.2"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["k256"]
curve25519 = ["dep:curve25519-dalek-ml", "sha2", "elliptic-curve-tools"]
ed448 = ["dep:ed448-goldilocks-plus", "sha3", "elliptic-curve-tools"]
k256 = ["dep:k256", "sha2"]
p256 = ["dep:p256", "sha2"]
p384 = ["dep:p384", "sha2", "elliptic-curve-tools"]
bls = ["dep:blsful", "sha2"]
jubjub = ["dep:jubjub", "blake2", "elliptic-curve-tools"]
decaf377 = ["dep:decaf377", "blake2", "elliptic-curve-tools"]
sha3 = ["dep:sha3"]
sha2 = ["dep:sha2"]
blake2 = ["dep:blake2"]
[dependencies]
blake2 = { version = "0.10", default-features = false, optional = true }
blsful = { version = "2.5.7", default-features = false, features = ["rust"], optional = true }
curve25519-dalek-ml = { version = "4.2" , default-features = false, features = ["digest", "group", "group-bits", "zeroize"], optional = true }
ecdsa = { version = "0.16", features = ["arithmetic"] }
ed448-goldilocks-plus = { version = "0.13", optional = true }
elliptic-curve = { version = "0.13", default-features = false, features = ["arithmetic", "hash2curve"] }
elliptic-curve-tools = { version = "0.1", optional = true }
digest = { version = "0.10", default-features = false, features = ["alloc"] }
jubjub = { version = "0.10", default-features = false, features = ["bits"], package = "jubjub-plus", optional = true }
decaf377 = { version = "0.10", git = "https://github.com/LIT-Protocol/decaf377.git", optional = true }
k256 = { version = "0.13", default-features = false, features = ["arithmetic", "hash2curve", "expose-field", "bits"], optional = true }
p256 = { version = "0.13", default-features = false, features = ["arithmetic", "hash2curve", "expose-field", "bits"], optional = true }
p384 = { version = "0.13", default-features = false, features = ["arithmetic", "hash2curve", "expose-field", "bits"], optional = true }
sha2 = { version = "0.10", default-features = false, optional = true }
sha3 = { version = "0.10", default-features = false, optional = true }
subtle = "2.5"
[target.'cfg(target_pointer_width = "32")'.dependencies]
getrandom = { version = "0.2.14", features = ["js"] }
[dev-dependencies]
rand_core = { version = "0.6.4", features = ["std"] }
rand_chacha = "0.3.1"