@@ -4,19 +4,38 @@ version = "0.1.0"
4
4
edition = " 2021"
5
5
6
6
[features ]
7
- cacao = [" dep:k256" , " dep:sha3" ]
7
+ cacao = [
8
+ " dep:k256" ,
9
+ " dep:sha3" ,
10
+ " dep:alloy-providers" ,
11
+ " dep:alloy-transport" ,
12
+ " dep:alloy-transport-http" ,
13
+ " dep:alloy-rpc-types" ,
14
+ " dep:alloy-json-rpc" ,
15
+ " dep:alloy-json-abi" ,
16
+ " dep:alloy-sol-types" ,
17
+ " dep:alloy-primitives" ,
18
+ ]
8
19
9
20
[dependencies ]
10
21
bs58 = " 0.4"
11
22
data-encoding = " 2.3"
12
- derive_more = { version = " 0.99" , default-features = false , features = [" display" , " from" , " as_ref" , " as_mut" ] }
23
+ derive_more = { version = " 0.99" , default-features = false , features = [
24
+ " display" ,
25
+ " from" ,
26
+ " as_ref" ,
27
+ " as_mut" ,
28
+ ] }
13
29
serde = { version = " 1.0" , features = [" derive" , " rc" ] }
14
30
serde-aux = { version = " 4.1" , default-features = false }
15
31
serde_json = " 1.0"
16
32
thiserror = " 1.0"
17
33
ed25519-dalek = { git = " https://github.com/dalek-cryptography/ed25519-dalek.git" , rev = " 7529d65" }
18
34
rand = " 0.7"
19
- chrono = { version = " 0.4" , default-features = false , features = [" std" , " clock" ] }
35
+ chrono = { version = " 0.4" , default-features = false , features = [
36
+ " std" ,
37
+ " clock" ,
38
+ ] }
20
39
regex = " 1.7"
21
40
once_cell = " 1.16"
22
41
jsonwebtoken = " 8.1"
@@ -25,14 +44,14 @@ sha3 = { version = "0.10", optional = true }
25
44
sha2 = { version = " 0.10.6" }
26
45
reqwest = { version = " 0.11" , features = [" default-tls" ] }
27
46
url = " 2"
28
- alloy-providers = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" }
29
- alloy-transport = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" }
30
- alloy-transport-http = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" }
31
- alloy-rpc-types = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" }
32
- alloy-json-rpc = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" }
33
- alloy-json-abi = " 0.6.2"
34
- alloy-sol-types = " 0.6.2"
35
- alloy-primitives = " 0.6.2"
47
+ alloy-providers = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" , optional = true }
48
+ alloy-transport = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" , optional = true }
49
+ alloy-transport-http = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" , optional = true }
50
+ alloy-rpc-types = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" , optional = true }
51
+ alloy-json-rpc = { git = " https://github.com/alloy-rs/alloy.git" , rev = " e6f98e1" , optional = true }
52
+ alloy-json-abi = { version = " 0.6.2" , optional = true }
53
+ alloy-sol-types = { version = " 0.6.2" , optional = true }
54
+ alloy-primitives = { version = " 0.6.2" , optional = true }
36
55
37
56
[dev-dependencies ]
38
57
tokio = { version = " 1.35.1" , features = [" test-util" , " macros" ] }
0 commit comments