diff --git a/crates/builtins/Cargo.toml b/crates/builtins/Cargo.toml index d8b3e8b..e62a6e4 100644 --- a/crates/builtins/Cargo.toml +++ b/crates/builtins/Cargo.toml @@ -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] diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 401ac58..b4a4d78 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -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 ", "Oleksandr Zarudnyi ", ] -license = "MIT OR Apache-2.0" -edition = "2021" description = "Shared constants of the revive compiler" [lib] diff --git a/crates/differential/Cargo.toml b/crates/differential/Cargo.toml index 956c037..d38c105 100644 --- a/crates/differential/Cargo.toml +++ b/crates/differential/Cargo.toml @@ -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] hex = { workspace = true } diff --git a/crates/linker/Cargo.toml b/crates/linker/Cargo.toml index 9d30aaf..9ae7d18 100644 --- a/crates/linker/Cargo.toml +++ b/crates/linker/Cargo.toml @@ -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 } diff --git a/crates/lld-sys/Cargo.toml b/crates/lld-sys/Cargo.toml index 4bef6f7..abefef7 100644 --- a/crates/lld-sys/Cargo.toml +++ b/crates/lld-sys/Cargo.toml @@ -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 } diff --git a/crates/solidity/Cargo.toml b/crates/solidity/Cargo.toml index 4b2080f..29a79fc 100644 --- a/crates/solidity/Cargo.toml +++ b/crates/solidity/Cargo.toml @@ -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 ", "Cyrill Leutwiler ", ] -license = "MIT OR Apache-2.0" -edition = "2021" -description = "PolkaVM Solidity frontend" +description = "Solidity frontend for the revive compiler" [[bin]] name = "resolc" @@ -17,6 +18,7 @@ path = "src/resolc/main.rs" doctest = false [dependencies] +clap = { workspace = true } structopt = { workspace = true } colored = { workspace = true } thiserror = { workspace = true } @@ -37,8 +39,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] mimalloc = { version = "*", default-features = false } diff --git a/crates/solidity/src/test_utils.rs b/crates/solidity/src/test_utils.rs index e05f301..1d5ef30 100644 --- a/crates/solidity/src/test_utils.rs +++ b/crates/solidity/src/test_utils.rs @@ -16,7 +16,6 @@ use crate::compiler::standard_json::output::contract::evm::bytecode::DeployedByt use crate::compiler::standard_json::output::Output as SolcStandardJsonOutput; use crate::compiler::Compiler; use crate::project::Project; -use crate::warning::Warning; use crate::solc::pipeline::Pipeline as SolcPipeline; use crate::solc::standard_json::input::settings::optimizer::Optimizer as SolcStandardJsonInputSettingsOptimizer; use crate::solc::standard_json::input::settings::selection::Selection as SolcStandardJsonInputSettingsSelection;