From d827364ea98247ba38a90656dd8b412f195936d7 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 18 May 2022 10:33:37 -0500 Subject: [PATCH] style: Normalize manifests --- Cargo.toml | 30 +++++++++++++-------------- clap_complete/Cargo.toml | 32 ++++++++++++++--------------- clap_complete_fig/Cargo.toml | 32 +++++++++++++++-------------- clap_derive/Cargo.toml | 39 +++++++++++++++++++----------------- clap_lex/Cargo.toml | 33 ++++++++++++++++-------------- clap_mangen/Cargo.toml | 37 ++++++++++++++++++---------------- 6 files changed, 107 insertions(+), 96 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 563fc681..3b84f0f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,30 +1,30 @@ [workspace] members = [ - "clap_derive", - "clap_lex", - "clap_complete", - "clap_complete_fig", - "clap_mangen", + "clap_derive", + "clap_lex", + "clap_complete", + "clap_complete_fig", + "clap_mangen", ] [package] name = "clap" version = "3.1.18" -rust-version = "1.56.0" # MSRV description = "A simple to use, efficient, and full-featured Command Line Argument Parser" repository = "https://github.com/clap-rs/clap" documentation = "https://docs.rs/clap/" categories = ["command-line-interface"] keywords = [ - "argument", - "cli", - "arg", - "parser", - "parse" + "argument", + "cli", + "arg", + "parser", + "parse" ] -edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2018" +rust-version = "1.56.0" # MSRV include = [ "build.rs", "src/**/*", @@ -59,9 +59,9 @@ pre-release-replacements = [ [features] default = [ - "std", - "color", - "suggestions", + "std", + "color", + "suggestions", ] debug = ["clap_derive/debug", "backtrace"] # Enables debug messages unstable-doc = ["derive", "cargo", "wrap_help", "yaml", "env", "unicode", "regex", "unstable-replace", "unstable-multicall", "unstable-grouped"] # for docs.rs diff --git a/clap_complete/Cargo.toml b/clap_complete/Cargo.toml index 16ba289c..3a9ff20c 100644 --- a/clap_complete/Cargo.toml +++ b/clap_complete/Cargo.toml @@ -1,8 +1,20 @@ [package] name = "clap_complete" version = "3.1.4" -rust-version = "1.56.0" # MSRV +description = "Generate shell completion scripts for your clap::Command" +repository = "https://github.com/clap-rs/clap/tree/master/clap_complete" +documentation = "https://docs.rs/clap_complete" +categories = ["command-line-interface"] +keywords = [ + "clap", + "cli", + "completion", + "bash", +] +license = "MIT OR Apache-2.0" +readme = "README.md" edition = "2018" +rust-version = "1.56.0" # MSRV include = [ "build.rs", "src/**/*", @@ -12,18 +24,9 @@ include = [ "benches/**/*", "examples/**/*" ] -description = "Generate shell completion scripts for your clap::Command" -repository = "https://github.com/clap-rs/clap/tree/master/clap_complete" -documentation = "https://docs.rs/clap_complete" -keywords = [ - "clap", - "cli", - "completion", - "bash", -] -categories = ["command-line-interface"] -license = "MIT OR Apache-2.0" -readme = "README.md" + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] [package.metadata.release] pre-release-replacements = [ @@ -62,6 +65,3 @@ required-features = ["unstable-dynamic"] default = [] unstable-dynamic = ["clap_lex", "shlex", "unicode-xid", "os_str_bytes", "clap/derive", "is_executable", "pathdiff"] debug = ["clap/debug"] - -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] diff --git a/clap_complete_fig/Cargo.toml b/clap_complete_fig/Cargo.toml index a589c63a..a48129d4 100644 --- a/clap_complete_fig/Cargo.toml +++ b/clap_complete_fig/Cargo.toml @@ -1,27 +1,29 @@ [package] name = "clap_complete_fig" version = "3.1.5" -rust-version = "1.56.0" # MSRV -edition = "2018" -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE-*", - "README.md" -] description = "A generator library used with clap for Fig completion scripts" repository = "https://github.com/clap-rs/clap/tree/master/clap_complete_fig" documentation = "https://docs.rs/clap_complete_fig" -keywords = [ - "clap", - "cli", - "generate", - "completion", - "fig", -] categories = ["command-line-interface"] +keywords = [ + "clap", + "cli", + "completion", + "fig", +] license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2018" +rust-version = "1.56.0" # MSRV +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*" +] [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/clap_derive/Cargo.toml b/clap_derive/Cargo.toml index 442bcd00..6082f445 100644 --- a/clap_derive/Cargo.toml +++ b/clap_derive/Cargo.toml @@ -1,27 +1,33 @@ [package] name = "clap_derive" version = "3.1.18" -rust-version = "1.56.0" # MSRV -edition = "2018" -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE-*", - "README.md" -] description = "Parse command line argument by defining a struct, derive crate." repository = "https://github.com/clap-rs/clap/tree/master/clap_derive" documentation = "https://docs.rs/clap_derive" -keywords = [ - "clap", - "cli", - "parse", - "derive", - "proc_macro" -] categories = ["command-line-interface", "development-tools::procedural-macro-helpers"] +keywords = [ + "clap", + "cli", + "parse", + "derive", + "proc_macro" +] license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2018" +rust-version = "1.56.0" # MSRV +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*" +] + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] [package.metadata.release] shared-version = true @@ -46,6 +52,3 @@ proc-macro-error = "1" default = [] debug = [] unstable-v4 = [] - -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] diff --git a/clap_lex/Cargo.toml b/clap_lex/Cargo.toml index 4308e188..be2c79a4 100644 --- a/clap_lex/Cargo.toml +++ b/clap_lex/Cargo.toml @@ -1,27 +1,30 @@ [package] name = "clap_lex" version = "0.2.0" -rust-version = "1.56.0" # MSRV -edition = "2018" -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE-*", - "README.md" -] description = "Minimal, flexible command line parser" repository = "https://github.com/clap-rs/clap/tree/master/clap_lex" documentation = "https://docs.rs/clap_lex" -keywords = [ - "argument", - "cli", - "arg", - "parser", - "parse" -] categories = ["command-line-interface"] +keywords = [ + "argument", + "cli", + "arg", + "parser", + "parse" +] license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2018" +rust-version = "1.56.0" # MSRV +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*" +] [package.metadata.release] pre-release-replacements = [ diff --git a/clap_mangen/Cargo.toml b/clap_mangen/Cargo.toml index eb2bde15..dfc98b54 100644 --- a/clap_mangen/Cargo.toml +++ b/clap_mangen/Cargo.toml @@ -1,26 +1,32 @@ [package] name = "clap_mangen" version = "0.1.6" -rust-version = "1.56.0" # MSRV -edition = "2018" -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE-*", - "README.md" -] description = "A manpage generator for clap" repository = "https://github.com/clap-rs/clap/tree/master/clap_mangen" documentation = "https://docs.rs/clap_mangen" -keywords = [ - "clap", - "cli", - "generate", - "manpage", -] categories = ["command-line-interface"] +keywords = [ + "clap", + "cli", + "generate", + "manpage", +] license = "MIT OR Apache-2.0" readme = "README.md" +edition = "2018" +rust-version = "1.56.0" # MSRV +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*" +] + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] [package.metadata.release] pre-release-replacements = [ @@ -46,6 +52,3 @@ clap = { path = "../", version = "3.1.10", default-features = false, features = [features] default = [] debug = ["clap/debug"] - -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"]