Cargo Features
[dependencies]
portforge = { version = "0.2.1", default-features = false, features = ["docker", "web"] }
- default = docker
-
The
dockerfeature is set by default wheneverportforgeis added withoutsomewhere in the dependency tree.default-features = false - docker default = bollard
-
Affects
portforge::docker… - web = askama, askama_axum, axum, rust-embed, tower-http
-
Affects
portforge::web…
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.
- bollard docker
-
Enables bollard ^0.18
Docker
- axum web?
-
Enables axum
Web dashboard (optional)
- tower-http web?
- rust-embed web?
- askama web?
-
Enables askama ^0.12
- askama_axum web?
-
Enables askama_axum ^0.4