Cargo Features
[dependencies]
mdbook = { version = "0.4.42", default-features = false, features = ["watch", "serve", "search"] }
- default = search, serve, watch
-
These default features are set whenever
mdbook
is added without
somewhere in the dependency tree.default-features = false - watch default
-
Enables ignore, notify ^6.1.1, notify-debouncer-mini ^0.4.1, pathdiff, and walkdir
notify:
Watch feature
Affects
cmd::watch
,command_prelude::CommandExt.arg_watcher
… - serve default
-
Enables futures-util, tokio, and warp
futures-util:
Serve feature
Affects
cmd::serve
,command_prelude::CommandExt.arg_watcher
… - search default
-
Enables ammonia and elasticlunr-rs
elasticlunr-rs:
Search feature
Affects
theme::searcher
…