-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
36 lines (30 loc) · 1014 Bytes
/
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
[package]
name = "evmole"
version = "0.6.2"
edition = "2021"
description = "Extracts function selectors and arguments from EVM bytecode"
authors = ["Maxim Andreev <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/cdump/evmole"
exclude = ["/javascript", "/python", "/benchmark", "/.github"]
[dependencies]
alloy-primitives = "0.8"
alloy-dyn-abi = "0.8"
pyo3 = { version = "0.23.3", features = ["extension-module"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
serde-wasm-bindgen = { version = "0.6.5", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
[features]
python = ["dep:pyo3"]
javascript = ["dep:wasm-bindgen", "dep:serde-wasm-bindgen", "dep:serde"]
# for dev
trace_selectors = []
trace_arguments = []
trace_mutability = []
trace_storage = []
trace = ["trace_selectors", "trace_arguments", "trace_mutability", "trace_storage"]
[lib]
crate-type = ["cdylib", "lib"]
[profile.release]
lto = true