Cargo Features

[dependencies]
flash_rust_ws = { version = "0.5.0", default-features = false, features = ["tlsrust", "tlsrust_acme", "logrot", "fcgi", "websocket", "webdav", "proxy"] }
default = fcgi, proxy, tlsrust, tlsrust_acme, webdav

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

tlsrust default = rustls-pemfile, tokio-rustls

Affects client::tls, config::VHost.tls, config::HostCfg.tls, transport::tls

tlsrust_acme default

Enables hyper_rustls of async-acme

logrot

Enables background_rotation of log4rs

fcgi default = async-fcgi, async-stream-connection

Affects cfg::FcgiMnt, dispatch::fcgi, body::IncomingBodyTrait, body::BufferedBody

websocket = async-stream-connection, tokio-util, websocket-codec

Enables sink of futures-util

Affects dispatch::websocket

webdav default = chrono, xml-rs

Affects dispatch::dav, body::IncomingBodyTrait, body::BufferedBody

proxy default = deadpool

Enables client of hyper

HTTP

Affects dispatch::proxy

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.

async-fcgi fcgi

Enables async-fcgi

fcgi:

tokio-rustls tlsrust

Enables tokio-rustls ^0.25

https:

async-acme tlsrust_acme
rustls-pemfile tlsrust
websocket-codec websocket?

Enables websocket-codec

websocket

tokio-util websocket?
xml-rs webdav

Enables xml-rs

webdav

chrono webdav
deadpool proxy

Enables deadpool ^0.11

proxy

async-stream-connection fcgi websocket?