From e0f38240b74073d7ec29defe6cdc7716f68b14b5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 30 Dec 2022 10:54:06 +0100 Subject: [PATCH] Make package fields workspace-wide This patch makes the "version", "license", "authors" and "edition" fields in the manifest workspace-wide. This way we ensure that mastodon-async-entities stays in sync with mastodon-async. Signed-off-by: Matthias Beyer --- Cargo.toml | 15 +++++++++++---- entities/Cargo.toml | 7 +++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 107aec6..5a5281e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,18 +6,25 @@ members = [ "entities", ] +[workspace.package] +version = "1.0.3" +license = "MIT/Apache-2.0" +authors = ["Aaron Power ", "Paul Woolcock ", "D. Scott Boggs "] +edition = "2021" + [package] name = "mastodon-async" -version = "1.0.3" -authors = ["Aaron Power ", "Paul Woolcock ", "D. Scott Boggs "] description = "A wrapper around the Mastodon API." readme = "README.md" keywords = ["api", "web", "social", "mastodon", "wrapper"] categories = ["web-programming", "web-programming::http-client", "api-bindings"] -license = "MIT/Apache-2.0" -edition = "2021" repository = "https://github.com/dscottboggs/mastodon-async.git" +version.workspace = true +license.workspace = true +authors.workspace = true +edition.workspace = true + [package.metadata.docs.rs] features = ["all"] diff --git a/entities/Cargo.toml b/entities/Cargo.toml index 15ff891..9669eae 100644 --- a/entities/Cargo.toml +++ b/entities/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "mastodon-async-entities" -version = "1.0.3" -edition = "2021" + +version.workspace = true +license.workspace = true +authors.workspace = true +edition.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html