runner: gate the solidity frontend behind a feature

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
Cyrill Leutwiler
2024-09-04 20:12:27 +02:00
parent a413238464
commit afd9f26aed
3 changed files with 24 additions and 3 deletions
+6 -2
View File
@@ -7,6 +7,10 @@ repository.workspace = true
authors.workspace = true
description = "Execute revive contracts in a simulated blockchain runtime"
[features]
default = ["solidity"]
solidity = ["revive-solidity", "revive-differential"]
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
@@ -24,5 +28,5 @@ polkadot-sdk.features = [
"pallet-timestamp"
]
revive-solidity = { workspace = true }
revive-differential = { workspace = true }
revive-solidity = { workspace = true, optional = true }
revive-differential = { workspace = true, optional = true }