From e0fadef6fccc1bec9eb9c171c1d91b9951b2f264 Mon Sep 17 00:00:00 2001 From: Simon Paitrault Date: Tue, 16 Jan 2024 14:49:07 +0100 Subject: [PATCH] feat: update cargo files to use workspace package Signed-off-by: Simon Paitrault --- Cargo.lock | 46 +++++++++---------- Cargo.toml | 5 ++ crates/topos-api/Cargo.toml | 4 +- crates/topos-certificate-spammer/Cargo.toml | 4 +- crates/topos-clock/Cargo.toml | 4 +- crates/topos-core/Cargo.toml | 4 +- crates/topos-crypto/Cargo.toml | 4 +- crates/topos-metrics/Cargo.toml | 4 +- crates/topos-p2p/Cargo.toml | 4 +- .../topos-sequencer-subnet-client/Cargo.toml | 4 +- .../topos-sequencer-subnet-runtime/Cargo.toml | 4 +- crates/topos-sequencer/Cargo.toml | 4 +- crates/topos-tce-api/Cargo.toml | 4 +- crates/topos-tce-broadcast/Cargo.toml | 4 +- crates/topos-tce-gatekeeper/Cargo.toml | 4 +- crates/topos-tce-proxy/Cargo.toml | 4 +- crates/topos-tce-storage/Cargo.toml | 4 +- crates/topos-tce-synchronizer/Cargo.toml | 4 +- crates/topos-tce-transport/Cargo.toml | 4 +- crates/topos-tce/Cargo.toml | 5 +- crates/topos-telemetry/Cargo.toml | 4 +- crates/topos-test-sdk/Cargo.toml | 4 +- crates/topos-uci/Cargo.toml | 4 +- crates/topos-wallet/Cargo.toml | 4 +- crates/topos/Cargo.toml | 4 +- 25 files changed, 74 insertions(+), 70 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0f65e87b4..ffea82063 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7364,7 +7364,7 @@ dependencies = [ [[package]] name = "topos" -version = "0.1.0" +version = "0.0.11" dependencies = [ "assert_cmd", "async-stream", @@ -7424,7 +7424,7 @@ dependencies = [ [[package]] name = "topos-api" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-graphql", "async-stream", @@ -7452,7 +7452,7 @@ dependencies = [ [[package]] name = "topos-certificate-spammer" -version = "0.1.0" +version = "0.0.11" dependencies = [ "clap 4.4.6", "futures", @@ -7479,7 +7479,7 @@ dependencies = [ [[package]] name = "topos-clock" -version = "0.1.0" +version = "0.0.11" dependencies = [ "chrono", "futures", @@ -7490,7 +7490,7 @@ dependencies = [ [[package]] name = "topos-core" -version = "0.1.0" +version = "0.0.11" dependencies = [ "bincode", "hex", @@ -7503,7 +7503,7 @@ dependencies = [ [[package]] name = "topos-crypto" -version = "0.1.0" +version = "0.0.11" dependencies = [ "byteorder", "eth-keystore", @@ -7519,7 +7519,7 @@ dependencies = [ [[package]] name = "topos-metrics" -version = "0.1.0" +version = "0.0.11" dependencies = [ "lazy_static", "prometheus", @@ -7527,7 +7527,7 @@ dependencies = [ [[package]] name = "topos-p2p" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-trait", "bincode", @@ -7567,7 +7567,7 @@ dependencies = [ [[package]] name = "topos-sequencer" -version = "0.1.0" +version = "0.0.11" dependencies = [ "hex", "opentelemetry", @@ -7586,7 +7586,7 @@ dependencies = [ [[package]] name = "topos-sequencer-subnet-client" -version = "0.1.0" +version = "0.0.11" dependencies = [ "backoff", "ethers", @@ -7604,7 +7604,7 @@ dependencies = [ [[package]] name = "topos-sequencer-subnet-runtime" -version = "0.1.0" +version = "0.0.11" dependencies = [ "byteorder", "env_logger 0.10.0", @@ -7634,7 +7634,7 @@ dependencies = [ [[package]] name = "topos-tce" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-stream", "async-trait", @@ -7684,7 +7684,7 @@ dependencies = [ [[package]] name = "topos-tce-api" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-graphql", "async-graphql-axum", @@ -7730,7 +7730,7 @@ dependencies = [ [[package]] name = "topos-tce-broadcast" -version = "0.1.0" +version = "0.0.11" dependencies = [ "byteorder", "criterion", @@ -7759,7 +7759,7 @@ dependencies = [ [[package]] name = "topos-tce-gatekeeper" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-trait", "env_logger 0.10.0", @@ -7777,7 +7777,7 @@ dependencies = [ [[package]] name = "topos-tce-proxy" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-stream", "backoff", @@ -7813,7 +7813,7 @@ dependencies = [ [[package]] name = "topos-tce-storage" -version = "0.1.0" +version = "0.0.11" dependencies = [ "arc-swap", "async-stream", @@ -7841,7 +7841,7 @@ dependencies = [ [[package]] name = "topos-tce-synchronizer" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-trait", "env_logger 0.10.0", @@ -7867,7 +7867,7 @@ dependencies = [ [[package]] name = "topos-tce-transport" -version = "0.1.0" +version = "0.0.11" dependencies = [ "clap 4.4.6", "serde", @@ -7878,7 +7878,7 @@ dependencies = [ [[package]] name = "topos-telemetry" -version = "0.1.0" +version = "0.0.11" dependencies = [ "opentelemetry", "serde", @@ -7889,7 +7889,7 @@ dependencies = [ [[package]] name = "topos-test-sdk" -version = "0.1.0" +version = "0.0.11" dependencies = [ "async-stream", "async-trait", @@ -7923,7 +7923,7 @@ dependencies = [ [[package]] name = "topos-uci" -version = "0.1.1" +version = "0.0.11" dependencies = [ "ethereum-types 0.13.1", "hex", @@ -7934,7 +7934,7 @@ dependencies = [ [[package]] name = "topos-wallet" -version = "0.1.0" +version = "0.0.11" dependencies = [ "byteorder", "eth-keystore", diff --git a/Cargo.toml b/Cargo.toml index be74fa7a0..e341e34c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,11 @@ members = [ "crates/*" ] +[workspace.package] +version = "0.0.11" +edition = "2021" +rust-version = "1.65" + [workspace.lints.rust] # Deny missing_docs = "allow" diff --git a/crates/topos-api/Cargo.toml b/crates/topos-api/Cargo.toml index a57b6a183..92241022f 100644 --- a/crates/topos-api/Cargo.toml +++ b/crates/topos-api/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-api" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-certificate-spammer/Cargo.toml b/crates/topos-certificate-spammer/Cargo.toml index 7bae4f974..89c9c6c82 100644 --- a/crates/topos-certificate-spammer/Cargo.toml +++ b/crates/topos-certificate-spammer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-certificate-spammer" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-clock/Cargo.toml b/crates/topos-clock/Cargo.toml index 403582d4c..b90ff2302 100644 --- a/crates/topos-clock/Cargo.toml +++ b/crates/topos-clock/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-clock" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-core/Cargo.toml b/crates/topos-core/Cargo.toml index 8ef7369e2..73d8c5837 100644 --- a/crates/topos-core/Cargo.toml +++ b/crates/topos-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-core" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-crypto/Cargo.toml b/crates/topos-crypto/Cargo.toml index 6d15e0beb..c81b6d728 100644 --- a/crates/topos-crypto/Cargo.toml +++ b/crates/topos-crypto/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "topos-crypto" description = "Implementation of the Topos cryptography utility functions" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-metrics/Cargo.toml b/crates/topos-metrics/Cargo.toml index fcb0a4735..3e4b9d71f 100644 --- a/crates/topos-metrics/Cargo.toml +++ b/crates/topos-metrics/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-metrics" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-p2p/Cargo.toml b/crates/topos-p2p/Cargo.toml index f45cf2f12..f078124a5 100644 --- a/crates/topos-p2p/Cargo.toml +++ b/crates/topos-p2p/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-p2p" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-sequencer-subnet-client/Cargo.toml b/crates/topos-sequencer-subnet-client/Cargo.toml index 38adf8233..5996bf8dd 100644 --- a/crates/topos-sequencer-subnet-client/Cargo.toml +++ b/crates/topos-sequencer-subnet-client/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-sequencer-subnet-client" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-sequencer-subnet-runtime/Cargo.toml b/crates/topos-sequencer-subnet-runtime/Cargo.toml index 6e503b549..4db346588 100644 --- a/crates/topos-sequencer-subnet-runtime/Cargo.toml +++ b/crates/topos-sequencer-subnet-runtime/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-sequencer-subnet-runtime" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-sequencer/Cargo.toml b/crates/topos-sequencer/Cargo.toml index 61ea66c50..696260645 100644 --- a/crates/topos-sequencer/Cargo.toml +++ b/crates/topos-sequencer/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "topos-sequencer" description = "Implementation of the Topos protocol" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-api/Cargo.toml b/crates/topos-tce-api/Cargo.toml index 4371a0223..1e28dd2b4 100644 --- a/crates/topos-tce-api/Cargo.toml +++ b/crates/topos-tce-api/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-api" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-broadcast/Cargo.toml b/crates/topos-tce-broadcast/Cargo.toml index 05d29aa2e..1c6c23909 100644 --- a/crates/topos-tce-broadcast/Cargo.toml +++ b/crates/topos-tce-broadcast/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-broadcast" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-gatekeeper/Cargo.toml b/crates/topos-tce-gatekeeper/Cargo.toml index 2710c4fa5..d8e9ea904 100644 --- a/crates/topos-tce-gatekeeper/Cargo.toml +++ b/crates/topos-tce-gatekeeper/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-gatekeeper" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-proxy/Cargo.toml b/crates/topos-tce-proxy/Cargo.toml index a2b388de2..6469dc72a 100644 --- a/crates/topos-tce-proxy/Cargo.toml +++ b/crates/topos-tce-proxy/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-proxy" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-storage/Cargo.toml b/crates/topos-tce-storage/Cargo.toml index 176e4326b..6ba57f0f1 100644 --- a/crates/topos-tce-storage/Cargo.toml +++ b/crates/topos-tce-storage/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-storage" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-synchronizer/Cargo.toml b/crates/topos-tce-synchronizer/Cargo.toml index 5a1985379..c1103c128 100644 --- a/crates/topos-tce-synchronizer/Cargo.toml +++ b/crates/topos-tce-synchronizer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-synchronizer" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce-transport/Cargo.toml b/crates/topos-tce-transport/Cargo.toml index 1d359035e..46c3ea0a5 100644 --- a/crates/topos-tce-transport/Cargo.toml +++ b/crates/topos-tce-transport/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-tce-transport" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-tce/Cargo.toml b/crates/topos-tce/Cargo.toml index 64a30806c..de4b208c9 100644 --- a/crates/topos-tce/Cargo.toml +++ b/crates/topos-tce/Cargo.toml @@ -1,9 +1,8 @@ [package] name = "topos-tce" description = "TCE Node Service" -version = "0.1.0" -edition = "2021" -rust-version = "1.65" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-telemetry/Cargo.toml b/crates/topos-telemetry/Cargo.toml index 7dc1c373b..b01e1eab9 100644 --- a/crates/topos-telemetry/Cargo.toml +++ b/crates/topos-telemetry/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-telemetry" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-test-sdk/Cargo.toml b/crates/topos-test-sdk/Cargo.toml index ed8428451..a6bb1ce5c 100644 --- a/crates/topos-test-sdk/Cargo.toml +++ b/crates/topos-test-sdk/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-test-sdk" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true build = "build.rs" [lints] diff --git a/crates/topos-uci/Cargo.toml b/crates/topos-uci/Cargo.toml index 7254168a5..6a60dfaf5 100644 --- a/crates/topos-uci/Cargo.toml +++ b/crates/topos-uci/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos-uci" -version = "0.1.1" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos-wallet/Cargo.toml b/crates/topos-wallet/Cargo.toml index 14afbf2cd..68302025a 100644 --- a/crates/topos-wallet/Cargo.toml +++ b/crates/topos-wallet/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "topos-wallet" description = "Key manager" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true diff --git a/crates/topos/Cargo.toml b/crates/topos/Cargo.toml index 02134c598..6e217335b 100644 --- a/crates/topos/Cargo.toml +++ b/crates/topos/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "topos" -version = "0.1.0" -edition = "2021" +version.workspace = true +edition.workspace = true [lints] workspace = true