Cargo Features

[dependencies]
gitbook = { version = "0.1.1", default-features = false, features = ["watch", "serve", "search"] }
default = search, serve, watch

These default features are set whenever gitbook is added without default-features = false somewhere in the dependency tree.

watch default = gitignore, notify

Affects cmd::watch

serve default = futures-util, tokio, warp

Affects cmd::serve

Affects theme::searcher

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.

notify watch

Enables notify ^4.0

Watch feature

gitignore watch
futures-util serve

Enables futures-util

Serve feature

tokio serve

Enables tokio ^0.2.18

warp serve

Enables warp ^0.2.2

elasticlunr-rs search

Enables elasticlunr-rs ^2.3

Search feature

ammonia search

Enables ammonia ^3