From edbf2f857c0c3a0008b967c3f5d852622fe0aca5 Mon Sep 17 00:00:00 2001 From: Wei Tang Date: Sat, 25 Nov 2023 17:03:33 +0100 Subject: [PATCH] Update AUTHORS and use workspace package config (#240) --- AUTHORS | 8 ++++++++ Cargo.toml | 20 +++++++++++++------- interpreter/Cargo.toml | 12 ++++++------ jsontests/Cargo.toml | 6 ++++-- precompile/Cargo.toml | 7 +++++-- tracer/Cargo.toml | 6 +++++- 6 files changed, 41 insertions(+), 18 deletions(-) create mode 100644 AUTHORS diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 000000000..e933270e0 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,8 @@ +Wei Tang +Parity Technologies +Stewart Mackenzie +Mike Lubinets +Michael Birch +nanocryk +Joshua J. Bouw +tgmichel diff --git a/Cargo.toml b/Cargo.toml index 3d75e60cf..1b08ca45a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,17 @@ +[workspace.package] +license = "Apache-2.0" +authors = ["rust-evm Developers "] +repository = "https://github.com/rust-ethereum/evm" +keywords = ["no_std", "ethereum", "evm"] + [package] name = "evm" -version = "0.40.0" -license = "Apache-2.0" -authors = ["Wei Tang ", "Parity Technologies "] -description = "SputnikVM - a Portable Blockchain Virtual Machine" -repository = "https://github.com/sorpaas/rust-evm" -keywords = ["no_std", "ethereum"] +version = "1.0.0-dev" +license = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +keywords = { workspace = true } +description = "Ethereum Virtual Machine" edition = "2018" [dependencies] @@ -22,7 +28,7 @@ scale-codec = { package = "parity-scale-codec", version = "3.2", default-feature scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } -evm-interpreter = { version = "0.2.0-dev", path = "interpreter", default-features = false } +evm-interpreter = { version = "1.0.0-dev", path = "interpreter", default-features = false } [dev-dependencies] criterion = "0.4" diff --git a/interpreter/Cargo.toml b/interpreter/Cargo.toml index 84ba097b4..3416d5f22 100644 --- a/interpreter/Cargo.toml +++ b/interpreter/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "evm-interpreter" -version = "0.2.0-dev" -license = "Apache-2.0" -authors = ["Wei Tang ", "Parity Technologies "] -description = "Portable Ethereum Virtual Machine implementation written in pure Rust." -repository = "https://github.com/sorpaas/rust-evm" -keywords = ["no_std", "ethereum"] +version = "1.0.0-dev" +license = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +keywords = { workspace = true } +description = "The interpreter part of Ethereum Virtual Machine" edition = "2018" [dependencies] diff --git a/jsontests/Cargo.toml b/jsontests/Cargo.toml index 4e2e4f791..a27cdd9a4 100644 --- a/jsontests/Cargo.toml +++ b/jsontests/Cargo.toml @@ -2,8 +2,10 @@ name = "jsontests" version = "0.1.0" edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +license = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +keywords = { workspace = true } [dependencies] evm = { path = ".." } diff --git a/precompile/Cargo.toml b/precompile/Cargo.toml index ae782667d..8bffc1256 100644 --- a/precompile/Cargo.toml +++ b/precompile/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "evm-precompile" -version = "0.1.0" +version = "0.0.0-dev" edition = "2021" -license = "Apache-2.0" +license = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +keywords = { workspace = true } description = "Standard EVM precompiles." [dependencies] diff --git a/tracer/Cargo.toml b/tracer/Cargo.toml index 7550e4350..90575e1b6 100644 --- a/tracer/Cargo.toml +++ b/tracer/Cargo.toml @@ -1,6 +1,10 @@ [package] name = "evm-tracer" -version = "0.1.0" +version = "0.0.0-dev" +license = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +keywords = { workspace = true } edition = "2021" [dependencies]