forked from alloy-rs/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (43 loc) · 1.49 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
[package]
name = "alloy-signer"
description = "Ethereum signer abstraction"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[dependencies]
alloy-network.workspace = true
alloy-primitives = { workspace = true, features = ["k256"] }
auto_impl.workspace = true
elliptic-curve.workspace = true
k256.workspace = true
rand.workspace = true
thiserror.workspace = true
async-trait.workspace = true
# eip712
alloy-sol-types = { workspace = true, optional = true }
# keystore
eth-keystore = { version = "0.5.0", default-features = false, optional = true }
# mnemonic
coins-bip32 = { version = "0.8.7", default-features = false, optional = true }
coins-bip39 = { version = "0.8.7", default-features = false, optional = true }
# yubi
yubihsm = { version = "0.42", features = ["secp256k1", "http", "usb"], optional = true }
[dev-dependencies]
alloy-consensus.workspace = true
assert_matches.workspace = true
serde_json.workspace = true
tempfile.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
# need to enable features for tests
yubihsm = { version = "0.42", features = ["mockhsm"] }
coins-bip39 = { version = "0.8.7", default-features = false, features = ["english"] }
[features]
eip712 = ["dep:alloy-sol-types"]
keystore = ["dep:eth-keystore"]
mnemonic = ["dep:coins-bip32", "dep:coins-bip39"]
yubihsm = ["dep:yubihsm"]