-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
112 lines (96 loc) · 4.42 KB
/
Copy pathCargo.toml
File metadata and controls
112 lines (96 loc) · 4.42 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
cargo-features = ["profile-rustflags"]
[workspace]
members = [
"crates/pcl/cli",
"crates/pcl/core",
"crates/pcl/common",
"crates/pcl/phoundry",
"crates/dapp-api-client",
]
resolver = "2"
[workspace.package]
version = "1.8.0"
edition = "2024"
authors = ["Phylax Systems"]
license = "BSL 1.1"
repository = "https://github.com/phylaxsystems/pcl"
[workspace.dependencies]
# PCL workspace crates
pcl-phoundry = { path = "crates/pcl/phoundry" }
pcl-common = { path = "crates/pcl/common" }
pcl-core = { path = "crates/pcl/core" }
dapp-api-client = { path = "crates/dapp-api-client" }
# misc
anyhow = "1.0.100"
reqwest = { version = "0.12.26", features = ["json", "rustls-tls"] }
clap = { version = "4.5.53", features = ["derive", "env"] }
serde = "1.0.228"
serde_json = "1.0.145"
tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread", "sync", "time", "net", "signal", "io-util", "fs", "process"] }
color-eyre = "0.6.5"
thiserror = "2.0.17"
chrono = { version = "0.4.42", features = ["serde"] }
colored = "3"
tempfile = { version = "3.23.0" }
url = "2.5.7"
uuid = { version = "1.23", features = ["serde", "v4"] }
sha2 = "0.10"
# alloy core
alloy-primitives = { version = "1.6.1", features = ["getrandom"] }
alloy-json-abi = "1.6.1"
alloy-dyn-abi = { version = "1.6.1", features = ["std"] }
alloy-sol-types = "1.6.1"
# alloy signing / rpc (versions match what phoundry already pulls transitively)
alloy-signer = "2.2.0"
alloy-signer-local = { version = "2.2.0", features = ["keystore"] }
alloy-provider = { version = "2.2.0", default-features = false, features = ["reqwest", "reqwest-rustls-tls"] }
alloy-network = "2.2.0"
alloy-rpc-types-eth = "2.2.0"
rpassword = "7"
[workspace.lints.clippy]
too_many_lines = "deny"
too_many_arguments = "deny"
panic = "deny"
unwrap_used = "deny"
expect_used = "deny"
unreachable = "deny"
todo = "deny"
unimplemented = "deny"
indexing_slicing = "deny"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1
incremental = false
[profile.debug-perf]
inherits = "release"
strip = "none"
rustflags = [
"-C",
"force-frame-pointers=yes",
"-C",
"symbol-mangling-version=v0",
]
debug = "line-tables-only"
# Patches required when consuming Phoundry as a git dependency.
[patch.crates-io]
solar-compiler = { git = "https://github.com/paradigmxyz/solar", rev = "a38f69e4f2e2267c549555a980aef6b0b1f249eb" }
solar-lint = { git = "https://github.com/paradigmxyz/solar", rev = "a38f69e4f2e2267c549555a980aef6b0b1f249eb" }
foundry-compilers = { git = "https://github.com/foundry-rs/foundry-core", rev = "fa7fd22e59767408c967483149ca0a2b420da24d" }
op-revm = { git = "https://github.com/foundry-rs/op-revm", rev = "c10fd76e66fd46cebc08ba370aa58bde72b94140" }
# commonware: keep the complete set aligned with Phoundry's current Tempo workspace.
# All 12 must be patched jointly — single-crate patch leaves cargo free to pick 2026.5.0.
commonware-broadcast = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-codec = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-consensus = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-cryptography = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-macros = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-math = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-p2p = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-parallel = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-resolver = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-runtime = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-storage = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }
commonware-utils = { git = "https://github.com/commonwarexyz/monorepo", rev = "2a7dd423f0a241276a5a38db8cc3d05f11de0c03" }