mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
3390adf0d3
While at it, this cleans up all of the features. For some reason, I couldn't do `dep:clap_derive` though.
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.60.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
|
|
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.42"
|
|
heck = "0.4.0"
|
|
proc-macro-error = "1"
|
|
|
|
[features]
|
|
default = []
|
|
debug = []
|
|
unstable-v5 = ["deprecated"]
|
|
deprecated = []
|
|
raw-deprecated = ["deprecated"]
|