From b1fdd3e1321ae375ce262e695d0d6f3cf5776ba8 Mon Sep 17 00:00:00 2001 From: Chevdor Date: Thu, 4 Jan 2024 17:47:58 +0100 Subject: [PATCH] Move common properties to the workspace --- Cargo.lock | 4 ++-- Cargo.toml | 10 ++++++++++ cli/Cargo.toml | 16 ++++++++-------- subrpc-core/Cargo.toml | 16 ++++++++-------- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 247d46b..60e390f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1787,7 +1787,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "subrpc" -version = "0.0.5" +version = "0.0.6" dependencies = [ "assert_cmd", "clap", @@ -1802,7 +1802,7 @@ dependencies = [ [[package]] name = "subrpc-core" -version = "0.0.5" +version = "0.0.6" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 3422781..9881c71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,13 @@ members = [ "subrpc-core", "examples", ] + +[workspace.package] +version = "0.0.6" +authors = ["chevdor "] +repository = "https://github.com/chevdor/subrpc" +homepage = "https://github.com/chevdor/subrpc" +edition = "2021" +license = "MIT" +readme = "README.md" +keywords = ["chevdor", "registry", "polkadot"] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3b4a2a5..4dd5c5b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,14 +1,14 @@ [package] -authors = ["chevdor "] name = "subrpc" -version = "0.0.5" -edition = "2021" description = "subrpc is a cli" -homepage = "https://github.com/chevdor/subrpc" -keywords = ["chevdor"] -license = "MIT" -readme = "README.md" -repository = "https://github.com/chevdor/subrpc" +authors.workspace = true +version.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +readme.workspace = true +repository.workspace = true [dependencies] env_logger = "0.10" diff --git a/subrpc-core/Cargo.toml b/subrpc-core/Cargo.toml index d4910b9..3086879 100644 --- a/subrpc-core/Cargo.toml +++ b/subrpc-core/Cargo.toml @@ -1,14 +1,14 @@ [package] -authors = ["chevdor "] name = "subrpc-core" -version = "0.0.5" -edition = "2021" description = "subrpc-core is a lib" -homepage = "https://github.com/chevdor/subrpc" -keywords = ["chevdor"] -license = "MIT" -readme = "README.md" -repository = "https://github.com/chevdor/subrpc" +authors.workspace = true +version.workspace = true +edition.workspace = true +homepage.workspace = true +keywords.workspace = true +license.workspace = true +readme.workspace = true +repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html