-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (43 loc) · 1.51 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
[workspace]
members = ['./procedural']
package.documentation = "https://docs.rs/evm-coder"
package.license = "MIT OR Apache-2.0"
package.repository = "https://github.com/UniqueNetwork/evm-coder"
package.version = "0.4.3"
resolver = "2"
[workspace.dependencies]
evm-coder-procedural = { path = "./procedural", version = "0.4.3" }
[package]
description = "EVM call decoding/encoding proc macros"
documentation.workspace = true
edition = "2021"
license.workspace = true
name = "evm-coder"
repository.workspace = true
version.workspace = true
[dependencies]
sha3-const = { version = "0.1.1", default-features = false }
# evm-coder reexports those proc-macro
evm-coder-procedural = { workspace = true }
# Evm uses primitive-types for H160, H256 and others
primitive-types = { version = "0.12.1", default-features = false }
# Evm doesn't have reexports for log and others
ethereum = { version = "0.15.0", default-features = false }
# We have tuple-heavy code in solidity.rs
impl-trait-for-tuples = "0.2.2"
[dev-dependencies]
bondrewd = { version = "0.1.14", features = ["derive"], default-features = false }
# We want to assert some large binary blobs equality in tests
hex = "0.4.3"
hex-literal = "0.3.4"
similar-asserts = "1.4"
trybuild = "1.0"
# Used to demonstrate enum derive feature
derivative = { version = "2.2" }
evm-coder-procedural = { workspace = true, features = ["bondrewd"] }
[features]
default = ["std"]
bondrewd = ["evm-coder-procedural/bondrewd"]
std = ["ethereum/std", "primitive-types/std"]
# Stub/interface generation
stubgen = []