Cargo Features
[dependencies]
mdbook-admonish = { version = "1.18.0", default-features = false, features = ["cli", "cli-install"] }
- default = cli, cli-install
-
These default features are set whenever
mdbook-admonish
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, env_logger
-
Enable the command line binary
Required by the binary
- cli-install default = toml_edit
-
Enable installation of files and configuration
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.
- clap cli
-
Enables clap
Note: clap 4.4 increases MSRV to 1.70.0 (2023-06-01) To use MSRV supported dependencies, install using the lockfile with
cargo install mdbook-admonish --locked
- env_logger cli
- toml_edit cli-install