Cargo Features

[dependencies]
hpx-fastwebsockets = { version = "2.3.1", default-features = false, features = ["upgrade", "simd", "unstable-split", "with_axum"] }
default = simd, upgrade

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

upgrade default = base64, http-body-util, hyper, hyper-util, pin-project, sha1

Affects hpx-fastwebsockets::handshake, hpx-fastwebsockets::upgrade

simd default = simdutf8
unstable-split

Affects fragment::FragmentCollectorRead, hpx-fastwebsockets::WebSocketRead, hpx-fastwebsockets::WebSocketWrite, hpx-fastwebsockets::after_handshake_split

with_axum = async-trait, axum-core, http

Axum integration

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.

simdutf8 simd
hyper-util upgrade
http-body-util upgrade
hyper upgrade
pin-project upgrade
base64 upgrade
sha1 upgrade
axum-core with_axum?

Enables axum-core

Axum integration

http with_axum?
async-trait with_axum?