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 <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-30 10:54:06 +01:00 committed by Scott Boggs
parent af3facfbf0
commit e0f38240b7
2 changed files with 16 additions and 6 deletions

View File

@ -6,18 +6,25 @@ members = [
"entities",
]
[workspace.package]
version = "1.0.3"
license = "MIT/Apache-2.0"
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>", "D. Scott Boggs <scott@tams.tech>"]
edition = "2021"
[package]
name = "mastodon-async"
version = "1.0.3"
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>", "D. Scott Boggs <scott@tams.tech>"]
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"]

View File

@ -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