Cargo Features

[dependencies]
portforge = { version = "0.2.1", default-features = false, features = ["docker", "web"] }
default = docker

The docker feature is set by default whenever portforge is added without default-features = false somewhere in the dependency tree.

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