Create the doc feature

This commit is contained in:
Anas Elgarhy 2023-02-24 00:56:06 +02:00
parent d5a05a2223
commit d38c6b2f4e
No known key found for this signature in database
GPG Key ID: 0501802A1D496528
2 changed files with 12 additions and 1 deletions

10
Cargo.lock generated
View File

@ -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",

View File

@ -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"