Cargo Features
[dependencies]
story-dl = { version = "0.6.0", default-features = false, features = ["cli", "cli_logging", "epub", "json", "messagepack"] }
- default = cli
-
The
cli
feature is set by default wheneverstory-dl
is added without
somewhere in the dependency tree.default-features = false - cli default = anyhow, clap, cli_logging, epub, json, messagepack
-
Enables macros of tokio ^0.2
- cli_logging cli = tracing-futures, tracing-log, tracing-subscriber
- epub cli = askama, pulldown-cmark, uuid, zip
-
Affects
models::Format
… - json cli = serde, serde_json
-
Affects
models::Format
… - messagepack cli = rmps, serde
-
Affects
models::Format
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- askama epub?
-
Enables askama ^0.10
Core/EPub
- pulldown-cmark epub?
-
Enables pulldown-cmark ^0.7
- uuid epub?
-
Enables uuid ^0.8
- zip epub?
-
Enables zip ^0.5
- serde_json json?
-
Enables serde_json
Core/JSON
- rmps messagepack?
-
Enables rmp-serde ^0.14
Core/MessagePack
- anyhow cli
-
Enables anyhow
CLI
- clap cli
-
Enables clap ^2.33
- tracing-log cli_logging?
-
Enables tracing-log ^0.1
- tracing-futures cli_logging?
- tracing-subscriber cli_logging?
-
Enables tracing-subscriber ^0.2
- serde json? messagepack?