clap/clap_mangen/Cargo.toml

53 lines
1.6 KiB
TOML
Raw Normal View History

[package]
name = "clap_mangen"
2022-12-22 18:40:15 +00:00
version = "0.2.6"
description = "A manpage generator for clap"
repository = "https://github.com/clap-rs/clap/tree/master/clap_mangen"
2022-05-18 15:33:37 +00:00
categories = ["command-line-interface"]
keywords = [
2022-05-18 15:33:37 +00:00
"clap",
"cli",
"generate",
"manpage",
]
license = "MIT OR Apache-2.0"
2022-05-18 15:35:30 +00:00
edition = "2021"
2023-01-09 18:29:41 +00:00
rust-version = "1.64.0" # MSRV
2022-05-18 15:33:37 +00:00
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 = [
2022-01-28 21:15:14 +00:00
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD", exactly=1},
{file="README.md", search="github.com/clap-rs/clap/blob/[^/]+/", replace="github.com/clap-rs/clap/blob/{{tag_name}}/", exactly=4, prerelease = true},
]
[lib]
bench = false
[dependencies]
roff = "0.2.1"
2022-10-18 19:36:44 +00:00
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "env"] }
[dev-dependencies]
snapbox = { version = "0.4", features = ["diff"] }
2022-10-18 19:36:44 +00:00
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "help"] }
[features]
default = []
debug = ["clap/debug"]