mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-26 00:37:58 +00:00
497dae2494
The differential testing framework will make a second consumer. There seems to be no re-usable Rust crate for this. But we already have everything here, just needs a small refactor to make it fully re-usable. - Mostly decouple the solc JSON-input-output interface types from the `solidity` frontend crate - Expose the JSON-input-output interface types in a dedicated crate --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
TOML
[package]
|
|
name = "revive-solidity"
|
|
version.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
authors = [
|
|
"Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
|
|
"Cyrill Leutwiler <cyrill@parity.io>",
|
|
]
|
|
description = "Solidity frontend for the revive compiler"
|
|
|
|
[[bin]]
|
|
name = "resolc"
|
|
path = "src/resolc/main.rs"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
clap = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
which = { workspace = true }
|
|
path-slash = { workspace = true }
|
|
rayon = { workspace = true, optional = true }
|
|
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
semver = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
regex = { workspace = true }
|
|
hex = { workspace = true }
|
|
num = { workspace = true }
|
|
sha3 = { workspace = true }
|
|
inkwell = { workspace = true }
|
|
|
|
revive-common = { workspace = true }
|
|
revive-llvm-context = { workspace = true }
|
|
revive-solc-json-interface = { workspace = true, features = ["resolc"] }
|
|
|
|
[target.'cfg(target_env = "musl")'.dependencies]
|
|
mimalloc = { version = "*", default-features = false }
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
libc = { workspace = true }
|
|
inkwell = { workspace = true, features = ["target-riscv", "llvm18-0-no-llvm-linking"]}
|
|
|
|
[build-dependencies]
|
|
git2 = { workspace = true, default-features = false }
|
|
|
|
[features]
|
|
parallel = ["rayon"]
|
|
default = ["parallel"]
|