mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
8aa7ab3e16
The main goal is to reduce the risk of people developing on the wrong release, assuming they are using something like starship to raise the visibility of the crate version.
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[package]
|
|
name = "clap_derive"
|
|
version = "4.0.0-alpha.0"
|
|
description = "Parse command line argument by defining a struct, derive crate."
|
|
repository = "https://github.com/clap-rs/clap/tree/master/clap_derive"
|
|
categories = ["command-line-interface", "development-tools::procedural-macro-helpers"]
|
|
keywords = [
|
|
"clap",
|
|
"cli",
|
|
"parse",
|
|
"derive",
|
|
"proc_macro"
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
rust-version = "1.56.1" # 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
|
|
dependent-version = "upgrade"
|
|
tag-name = "v{{version}}"
|
|
pre-release-replacements = [
|
|
{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=2, prerelease = true},
|
|
]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
bench = false
|
|
|
|
[dependencies]
|
|
syn = { version = "1.0.74", features = ["full"] }
|
|
quote = "1.0.9"
|
|
proc-macro2 = "1.0.28"
|
|
heck = "0.4.0"
|
|
proc-macro-error = "1"
|
|
|
|
[features]
|
|
default = []
|
|
debug = []
|
|
unstable-v5 = ["deprecated"]
|
|
deprecated = []
|
|
raw-deprecated = ["deprecated"]
|