tidy up workspace

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2024-08-24 16:09:07 +02:00
parent 7844bbb604
commit 5d742d150d
14 changed files with 174 additions and 150 deletions
+8 -7
View File
@@ -1,10 +1,11 @@
[package]
name = "revive-benchmarks"
version = "0.1.0"
edition = "2021"
authors = [
"Cyrill Leutwiler <cyrill@parity.io>",
]
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors.workspace = true
description = "revive compiler benchmarks"
[features]
default = ["bench-pvm-interpreter"]
@@ -16,8 +17,8 @@ bench-extensive = []
[dependencies]
hex = { workspace = true }
polkavm = { workspace = true }
revive-integration = { path = "../integration" }
revive-differential = { path = "../differential", optional = true }
revive-integration = { workspace = true }
revive-differential = { workspace = true, optional = true }
alloy-primitives = { workspace = true }
[dev-dependencies]
+6 -4
View File
@@ -1,12 +1,14 @@
[package]
name = "revive-builtins"
version = "0.1.0"
edition = "2021"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors.workspace = true
build = "build.rs"
description = "compiler builtins for the revive compiler"
[features]
riscv-64 = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+4 -3
View File
@@ -1,12 +1,13 @@
[package]
name = "revive-common"
version = "0.1.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = [
"Cyrill Leutwiler <cyrill@parity.io>",
"Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
]
license = "MIT OR Apache-2.0"
edition = "2021"
description = "Shared constants of the revive compiler"
[lib]
+5 -4
View File
@@ -1,9 +1,10 @@
[package]
name = "revive-differential"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
license.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
[dependencies]
evm-interpreter = { workspace = true }
+10 -8
View File
@@ -1,9 +1,11 @@
[package]
name = "revive-integration"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors.workspace = true
description = "revive compiler integration test cases"
[dependencies]
polkavm = { workspace = true }
@@ -13,10 +15,10 @@ hex = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
revive-solidity = { path = "../solidity" }
revive-differential = { path = "../differential" }
revive-llvm-context = { path = "../llvm-context" }
revive-common = { path = "../common" }
revive-solidity = { workspace = true }
revive-differential = { workspace = true }
revive-llvm-context = { workspace = true }
revive-common = { workspace = true }
[dev-dependencies]
sha1 = { workspace = true }
+8 -6
View File
@@ -1,9 +1,11 @@
[package]
name = "revive-linker"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors.workspace = true
description = "revive compiler linker utils"
[features]
riscv-64 = []
@@ -16,5 +18,5 @@ polkavm-common = { workspace = true }
libc = { workspace = true }
anyhow = { workspace = true }
revive-builtins = { path = "../builtins" }
lld-sys = { path = "../lld-sys" }
revive-builtins = { workspace = true }
lld-sys = { workspace = true }
+6 -5
View File
@@ -1,11 +1,12 @@
[package]
name = "lld-sys"
version = "0.1.0"
edition = "2021"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors.workspace = true
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
description = "bindings for ld.lld core"
[dependencies]
libc = { workspace = true }
+9 -10
View File
@@ -1,12 +1,13 @@
[package]
name = "revive-llvm-context"
version = "1.4.1"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = [
"Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
"Cyrill Leutwiler <cyrill@parity.io>",
]
license = "MIT OR Apache-2.0"
edition = "2021"
description = "Shared front end code of the revive PolkaVM compilers"
[lib]
@@ -32,10 +33,8 @@ inkwell = { workspace = true }
polkavm-disassembler = { workspace = true }
polkavm-common = { workspace = true }
zkevm_opcode_defs = { git = "https://github.com/matter-labs/era-zkevm_opcode_defs", branch = "v1.4.1" }
revive-common = { path = "../common" }
pallet-contracts-pvm-llapi = { path = "../pallet-contracts-pvm-llapi" }
revive-linker = { path = "../linker" }
revive-builtins = { path = "../builtins" }
revive-stdlib = { path = "../stdlib" }
revive-common = { workspace = true }
pallet-contracts-pvm-llapi = { workspace = true }
revive-linker = { workspace = true }
revive-builtins = { workspace = true }
revive-stdlib = { workspace = true }
+6 -2
View File
@@ -1,7 +1,11 @@
[package]
name = "pallet-contracts-pvm-llapi"
version = "0.1.0"
edition = "2021"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
repository.authors = true
descritption = "Implements the low level runtime API bindings with pallet contracts"
[features]
riscv-64 = []
+7 -3
View File
@@ -1,7 +1,11 @@
[package]
name = "revive-runner"
version = "0.1.0"
edition = "2021"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
repository.authors = true
descritption = "Execute revive contracts in a simulated blockchain runtime"
[dependencies]
serde = { workspace = true }
@@ -10,4 +14,4 @@ codec = { workspace = true, default-features = false }
scale-info = { workspace = true, default-features = false }
polkadot-sdk = { workspace = true, features = ["experimental", "runtime"] }
revive-solidity = { path = "../solidity" }
revive-solidity = { workspace = true }
+7 -6
View File
@@ -1,13 +1,14 @@
[package]
name = "revive-solidity"
version = "1.4.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = [
"Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
"Cyrill Leutwiler <cyrill@parity.io>",
]
license = "MIT OR Apache-2.0"
edition = "2021"
description = "PolkaVM Solidity frontend"
description = "Solidity frontend for the revive compiler"
[[bin]]
name = "resolc"
@@ -37,8 +38,8 @@ sha3 = { workspace = true }
md5 = { workspace = true }
inkwell = { workspace = true }
revive-common = { path = "../common" }
revive-llvm-context = { path = "../llvm-context" }
revive-common = { workspace = true }
revive-llvm-context = { workspace = true }
[target.'cfg(target_env = "musl")'.dependencies]
+5 -4
View File
@@ -1,9 +1,10 @@
[package]
name = "revive-stdlib"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
description = "revive compiler stdlib components"
[dependencies]
inkwell = { workspace = true, features = ["target-riscv", "no-libffi-linking", "llvm18-0"] }