mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 07:57:57 +00:00
bd4e108bb0
- 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>
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[package]
|
|
name = "revive-runner"
|
|
version.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
description = "Execute revive contracts in a simulated blockchain runtime"
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["codec", "scale-info"]
|
|
|
|
[[bin]]
|
|
name = "revive-runner"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
std = ["polkadot-sdk/std"]
|
|
default = ["solidity"]
|
|
solidity = ["resolc", "revive-differential", "revive-llvm-context"]
|
|
|
|
[dependencies]
|
|
env_logger = { workspace = true }
|
|
clap = { workspace = true, features = ["help", "std", "derive"] }
|
|
anyhow = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
hex = { workspace = true, features = ["serde"] }
|
|
codec = { workspace = true, default-features = false }
|
|
scale-info = { workspace = true, default-features = false }
|
|
alloy-primitives = { workspace = true }
|
|
polkadot-sdk.workspace = true
|
|
polkadot-sdk.features = [
|
|
"experimental",
|
|
"runtime",
|
|
"polkadot-runtime-common",
|
|
"pallet-revive",
|
|
"pallet-balances",
|
|
"pallet-timestamp"
|
|
]
|
|
|
|
resolc = { workspace = true, optional = true }
|
|
revive-differential = { workspace = true, optional = true }
|
|
revive-llvm-context = { workspace = true, optional = true }
|