-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargo.toml
More file actions
97 lines (89 loc) · 2.2 KB
/
Copy pathCargo.toml
File metadata and controls
97 lines (89 loc) · 2.2 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
[workspace]
members = [
"solx",
"solx-slang",
"solx-core",
"solx-standard-json",
"solx-evm-assembly",
"solx-yul",
"solx-codegen-evm",
"solx-utils",
"solx-dev",
"solx-tester",
"solx-benchmark-converter",
"solx-solc-test-adapter",
"solx-compiler-downloader",
"solx-mlir",
]
# IMPORTANT: solx-slang and solx-mlir are intentionally excluded from
# default-members. They depend on inkwell with `llvm21-1-no-llvm-linking`,
# while solx-codegen-evm uses inkwell with `llvm21-1` (links LLVM). Cargo
# feature unification would merge these into one inkwell with conflicting
# features, causing linker failures. Use `cargo test-slang` to test them.
default-members = [
"solx",
"solx-core",
"solx-standard-json",
"solx-evm-assembly",
"solx-yul",
"solx-codegen-evm",
"solx-utils",
"solx-dev",
"solx-tester",
"solx-benchmark-converter",
"solx-solc-test-adapter",
"solx-compiler-downloader",
]
resolver = "3"
[workspace.package]
authors = [
"Matter Labs <alex@nomic.foundation>",
"Nomic Foundation <alex@nomic.foundation>",
]
edition = "2024"
version = "0.1.7"
[workspace.dependencies]
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_json = { version = "1.0", features = ["arbitrary_precision", "raw_value"] }
serde_yaml = "0.9"
ciborium = "0.2"
# CLI
clap = { version = "4.6", features = ["derive"] }
colored = "3.1"
# Concurrency
rayon = "1.12"
# Utilities
semver = { version = "1.0", features = ["serde"] }
gimli = "0.34"
hex = "0.4"
num = "0.4"
object = "0.39"
regex = "1.12"
glob = "0.3"
itertools = "0.15"
sha2 = "0.11"
sha3 = "0.12"
md5 = "0.8"
ruint = "1.17"
alloy-primitives = "1.6"
# LLVM
[workspace.dependencies.inkwell]
git = "https://github.com/NomicFoundation/inkwell"
rev = "c2ac839f8f2b67246c9676fe29e7935e95e460fb"
default-features = false
features = [
"llvm21-1",
"serde",
"no-libffi-linking",
"target-evm",
]
# Slang
[workspace.dependencies.slang_solidity_v2]
git = "https://github.com/NomicFoundation/slang.git"
# TODO: pin to a release tag instead of a revision.
rev = "ad18c38a0af62abbcfb77ea55087184aa0d1eba5"