forked from alloy-rs/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (63 loc) · 1.72 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "alloy-dyn-abi"
description = "Run-time ABI and EIP-712 implementations"
keywords = ["ethereum", "abi", "encoding", "evm", "solidity"]
categories = ["no-std", "encoding", "cryptography::cryptocurrencies"]
homepage = "https://github.com/alloy-rs/core/tree/main/crates/dyn-abi"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
alloy-json-abi.workspace = true
alloy-sol-type-parser.workspace = true
alloy-sol-types.workspace = true
alloy-primitives.workspace = true
hex.workspace = true
itoa.workspace = true
# eip712
derive_more = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
# arbitrary
arbitrary = { workspace = true, optional = true }
derive_arbitrary = { workspace = true, optional = true }
proptest = { workspace = true, optional = true }
[dev-dependencies]
criterion.workspace = true
ethabi = "18"
rand = "0.8"
serde_json = { workspace = true }
[features]
default = ["std"]
std = [
"alloy-json-abi/std",
"alloy-sol-types/std",
"alloy-sol-type-parser/std",
"alloy-primitives/std",
"hex/std",
"serde?/std",
"serde_json?/std",
]
eip712 = ["alloy-sol-types/eip712-serde", "dep:derive_more", "dep:serde", "dep:serde_json"]
arbitrary = [
"std",
"alloy-sol-types/arbitrary",
"dep:arbitrary",
"dep:derive_arbitrary",
"dep:proptest",
]
[[bench]]
name = "abi"
path = "benches/abi.rs"
harness = false
[[bench]]
name = "types"
path = "benches/types.rs"
harness = false