chore: Switch to workspace inheritance

This commit is contained in:
Ed Page 2023-01-09 12:35:54 -06:00
parent f25fe5b3e0
commit fa02111092
7 changed files with 42 additions and 75 deletions

View file

@ -8,6 +8,20 @@ members = [
"clap_mangen",
]
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
[package]
name = "clap"
version = "4.0.32"
@ -21,18 +35,10 @@ keywords = [
"parser",
"parse"
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
features = ["unstable-doc"]

View file

@ -2,10 +2,11 @@
name = "clap_bench"
version = "0.0.0"
description = "Benchmarks for clap"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
publish = false
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.release]
release = false

View file

@ -10,18 +10,10 @@ keywords = [
"completion",
"bash",
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View file

@ -10,18 +10,10 @@ keywords = [
"completion",
"fig",
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View file

@ -11,18 +11,10 @@ keywords = [
"derive",
"proc_macro"
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View file

@ -11,18 +11,10 @@ keywords = [
"parser",
"parse"
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.release]
pre-release-replacements = [

View file

@ -10,18 +10,10 @@ keywords = [
"generate",
"manpage",
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"build.rs",
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"benches/**/*",
"examples/**/*"
]
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]