Create the doc feature
This commit is contained in:
parent
d5a05a2223
commit
d38c6b2f4e
2 changed files with 12 additions and 1 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -190,6 +190,15 @@ dependencies = [
|
||||||
"terminal_size",
|
"terminal_size",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "clap-markdown"
|
||||||
|
version = "0.1.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "325f50228f76921784b6d9f2d62de6778d834483248eefecd27279174797e579"
|
||||||
|
dependencies = [
|
||||||
|
"clap",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap_derive"
|
name = "clap_derive"
|
||||||
version = "4.1.0"
|
version = "4.1.0"
|
||||||
|
@ -217,6 +226,7 @@ name = "cmus-notify"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
|
"clap-markdown",
|
||||||
"confy",
|
"confy",
|
||||||
"id3",
|
"id3",
|
||||||
"image",
|
"image",
|
||||||
|
|
|
@ -17,6 +17,7 @@ log = { version = "0.4.17", optional = true }
|
||||||
pretty_env_logger = { version = "0.4.0", optional = true }
|
pretty_env_logger = { version = "0.4.0", optional = true }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
parse-display = "0.8.0"
|
parse-display = "0.8.0"
|
||||||
|
clap-markdown = { version = "0.1.3", optional = true }
|
||||||
|
|
||||||
[dependencies.clap]
|
[dependencies.clap]
|
||||||
version = "4.1.4"
|
version = "4.1.4"
|
||||||
|
@ -30,7 +31,7 @@ features = ["toml_conf"]
|
||||||
[features]
|
[features]
|
||||||
lyrics = ["lrc"]
|
lyrics = ["lrc"]
|
||||||
debug = ["log", "pretty_env_logger"]
|
debug = ["log", "pretty_env_logger"]
|
||||||
|
docs = ["clap-markdown"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
test-context = "0.1.4"
|
test-context = "0.1.4"
|
||||||
# clap-markdown = "0.1.3"
|
|
||||||
|
|
Loading…
Reference in a new issue