-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
76 lines (66 loc) · 2.38 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
74
75
76
[workspace]
members = ["crates/*", "examples/*", "fuzz"]
default-members = ["crates/revmc-cli"]
resolver = "2"
[workspace.package]
version = "0.1.0"
authors = ["DaniPopes <57450786+DaniPopes@users.noreply.github.com>"]
edition = "2021"
rust-version = "1.79"
license = "MIT OR Apache-2.0"
categories = ["compilers", "cryptography::cryptocurrencies"]
keywords = ["compile", "compiler", "jit", "evm", "ethereum"]
homepage = "https://github.com/danipopes/cranelift-jit-evm"
repository = "https://github.com/danipopes/cranelift-jit-evm"
exclude = [".github/", "benches/", "fuzz/", "tests/"]
[workspace.lints.clippy]
dbg-macro = "warn"
manual-string-new = "warn"
uninlined-format-args = "warn"
use-self = "warn"
redundant-clone = "warn"
[workspace.lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "warn"
unreachable-pub = "warn"
unused-must-use = "warn"
redundant-lifetimes = "warn"
unnameable-types = "warn"
[workspace.lints.rustdoc]
all = "warn"
[workspace.dependencies]
revmc = { version = "0.1.0", path = "crates/revmc", default-features = false }
revmc-backend = { version = "0.1.0", path = "crates/revmc-backend", default-features = false }
revmc-build = { version = "0.1.0", path = "crates/revmc-build", default-features = false }
revmc-builtins = { version = "0.1.0", path = "crates/revmc-builtins", default-features = false }
revmc-context = { version = "0.1.0", path = "crates/revmc-context", default-features = false }
revmc-cranelift = { version = "0.1.0", path = "crates/revmc-cranelift", default-features = false }
revmc-llvm = { version = "0.1.0", path = "crates/revmc-llvm", default-features = false }
alloy-primitives = { version = "0.8", default-features = false }
revm = { version = "14.0", default-features = false }
revm-primitives = { version = "9.0", default-features = false }
revm-interpreter = { version = "10.0", default-features = false }
ruint = { version = "1.12", default-features = false }
color-eyre = "0.6"
eyre = "0.6"
rustc-hash = "2.0"
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-tracy = "0.11"
paste = "1.0"
[profile.release]
opt-level = 3
lto = true
debug = "line-tables-only"
strip = true
panic = "abort"
codegen-units = 1
# Use the `--profile profiling` flag to show symbols in release mode.
# e.g. `cargo build --profile profiling`
[profile.profiling]
inherits = "release"
debug = 2
strip = false
[profile.bench]
inherits = "profiling"