-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
64 lines (54 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "bpaf"
version = "0.9.15"
edition = "2021"
categories = ["command-line-interface"]
description = "A simple Command Line Argument Parser with parser combinators"
keywords = ["args", "arguments", "cli", "parser", "parse"]
authors = [ "Michael Baykov <manpacket@gmail.com>" ]
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/pacak/bpaf"
rust-version = "1.56"
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
"examples/**/*"
]
[dependencies]
bpaf_derive = { path = "./bpaf_derive", version = "=0.5.13", optional = true }
owo-colors = { version = ">=3.5, <5.0", default-features = false, optional = true }
supports-color = { version = ">=2.0.0, <4.0", optional = true }
[dev-dependencies]
bpaf = { path = ".", features = ["derive", "extradocs", "autocomplete", "docgen", "batteries", "dull-color"] }
[package.metadata.docs.rs]
features = ["unstable-docs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features]
derive = ["bpaf_derive"]
extradocs = []
batteries = []
autocomplete = []
# this feature used internally to switch between different code generation,
# users should pick between bright-color or dull-color
color = ["supports-color", "owo-colors"]
bright-color = ["color"]
dull-color = ["color"]
docgen = []
# this feature is used for local development to make it easier to generate documentation
unstable-docs = ["derive", "extradocs", "autocomplete", "batteries", "docgen"]
[workspace.metadata.cauwugo]
bpaf = true
[workspace]
members = [
".",
"./bpaf_derive",
"./bpaf_cauwugo",
"./docs2",
"./comptester",
"./documentation",
]