Cargo Features

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

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

simd default

Enables aarch64_neon of simdutf8

simdutf8:

aarch64 NEON SIMD implementation - requires Rust 1.59.0 or later

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

Affects fastwebsockets::handshake, fastwebsockets::upgrade

unstable-split

Affects fragment::FragmentCollectorRead, fastwebsockets::WebSocketRead, fastwebsockets::WebSocketWrite, 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?

Enables base64 ^0.21.0

sha1 upgrade?
axum-core with_axum?

Enables axum-core

Axum integration

http with_axum?
async-trait with_axum?