resolc crate (#328)

- Factor the YUL crate out of `revive-solidity`.
- `revive-solidity` is in reality not a Solidity implementation but the
revive solidity compiler driver (`resolc`). By renaming we not only get
this straight but also a binary with the same name as the crate which
should be less confusing.

---------

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus
2025-05-27 09:48:43 +02:00
committed by GitHub
parent 090e3ac13c
commit bd4e108bb0
99 changed files with 599 additions and 624 deletions
Generated
+41 -29
View File
@@ -8358,6 +8358,31 @@ dependencies = [
"windows-registry",
]
[[package]]
name = "resolc"
version = "0.1.0-dev.16"
dependencies = [
"anyhow",
"clap",
"git2",
"hex",
"inkwell",
"libc",
"mimalloc",
"once_cell",
"path-slash",
"rayon",
"revive-common",
"revive-llvm-context",
"revive-solc-json-interface",
"revive-yul",
"semver 1.0.26",
"serde",
"serde_json",
"sha3",
"which",
]
[[package]]
name = "revive-benchmarks"
version = "0.1.0-dev.16"
@@ -8412,9 +8437,9 @@ dependencies = [
"alloy-sol-types",
"hex",
"rayon",
"resolc",
"revive-llvm-context",
"revive-runner",
"revive-solidity",
"serde",
"serde_json",
"sha1",
@@ -8487,9 +8512,9 @@ dependencies = [
"hex",
"parity-scale-codec",
"polkadot-sdk 2503.0.1",
"resolc",
"revive-differential",
"revive-llvm-context",
"revive-solidity",
"scale-info",
"serde",
"serde_json",
@@ -8517,33 +8542,6 @@ dependencies = [
"serde_json",
]
[[package]]
name = "revive-solidity"
version = "0.1.0-dev.16"
dependencies = [
"anyhow",
"clap",
"git2",
"hex",
"inkwell",
"libc",
"mimalloc",
"num",
"once_cell",
"path-slash",
"rayon",
"regex",
"revive-common",
"revive-llvm-context",
"revive-solc-json-interface",
"semver 1.0.26",
"serde",
"serde_json",
"sha3",
"thiserror 2.0.12",
"which",
]
[[package]]
name = "revive-stdlib"
version = "0.1.0-dev.16"
@@ -8552,6 +8550,20 @@ dependencies = [
"revive-build-utils",
]
[[package]]
name = "revive-yul"
version = "0.1.0-dev.16"
dependencies = [
"anyhow",
"inkwell",
"num",
"regex",
"revive-common",
"revive-llvm-context",
"serde",
"thiserror 2.0.12",
]
[[package]]
name = "rfc6979"
version = "0.4.0"