-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
61 lines (51 loc) · 1.6 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
[workspace]
members = ["crates/motsu", "crates/motsu-proc"]
default-members = ["crates/motsu", "crates/motsu-proc"]
# Explicitly set the resolver to version 2, which is the default for packages
# with edition >= 2021.
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"
[workspace.package]
authors = ["OpenZeppelin"]
edition = "2021"
license = "MIT"
repository = "https://github.com/OpenZeppelin/stylus-test-helpers"
[workspace.lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
rust_2021_compatibility = { level = "warn", priority = -1 }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[workspace.lints.clippy]
pedantic = "warn"
all = "warn"
[workspace.dependencies]
const-hex = { version = "1.11.1", default-features = false }
once_cell = "1.19.0"
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
stylus-sdk = { version = "0.7.0", default-features = false }
dashmap = "6.1.0"
syn = { version = "2.0.58", features = ["full"] }
proc-macro2 = "1.0.79"
quote = "1.0.35"
alloy-primitives = { version = "=0.8.14", default-features = false }
alloy-sol-types = { version = "=0.8.14", default-features = false }
# members
motsu = { path = "crates/motsu" }
motsu-proc = { path = "crates/motsu-proc", version = "0.3.0" }
[profile.release]
codegen-units = 1
panic = "abort"
opt-level = "z"
strip = true
lto = true
debug = false
rpath = false
debug-assertions = false
incremental = false
[profile.dev]
panic = "abort"
[workspace.metadata.typos]
default = { extend-ignore-identifiers-re = [
# ignore hex data samples.
"[0-9a-fA-F][0-9a-fA-F]",
] }