Cargo Features
[dependencies]
mdbook-plantuml = { version = "0.8.0", default-features = false, features = ["plantuml-server", "plantuml-ssl-server"] }
- default = plantuml-ssl-server
-
The
plantuml-ssl-server
feature is set by default whenevermdbook-plantuml
is added without
somewhere in the dependency tree.default-features = false - plantuml-server = deflate, reqwest
- plantuml-ssl-server default = deflate
-
Enables default-tls of reqwest ^0.11.10
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
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.