clap/clap_derive/Cargo.toml
2022-06-28 08:04:18 -05:00

54 lines
1.2 KiB
TOML

[package]
name = "clap_derive"
version = "3.2.7"
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-v4 = ["deprecated"]
deprecated = []
raw-deprecated = ["deprecated"]