Cargo Features
[dependencies]
trillium-cli = { version = "0.3.8", default-features = false, features = ["serve", "dev-server", "client", "proxy", "native-tls", "rustls"] }
- default = client, proxy, rustls, serve
-
These default features are set whenever
trillium-cli
is added without
somewhere in the dependency tree.default-features = false - serve default
-
Enables trillium, trillium-client, trillium-logger, trillium-proxy, and trillium-static
- dev-server
-
Enables ansi-to-html, async-broadcast, async-io, futures-lite, libc, nix, notify ^6.1.1, serde, serde_json, signal-hook, trillium, trillium-client, trillium-html-rewriter, trillium-proxy, trillium-router, and trillium-websockets
- client default
-
Enables async-fs, blocking, colored, colored_json, futures-lite, mime, serde_json, size, and trillium-client
- proxy default
-
Enables trillium, trillium-client, trillium-logger, and trillium-proxy
- native-tls
-
Enables trillium-native-tls
- rustls default
-
Enables trillium-rustls
trillium-cli has 7 features without comments.