Cargo Features

[dependencies]
websocket-sans-io = { version = "0.1.0", default-features = false, features = ["large_frames", "explicitly_aligned_masking", "masking_slice_size_8", "masking_slice_size_32"] }
default = large_frames

The large_frames feature is set by default whenever websocket-sans-io is added without default-features = false somewhere in the dependency tree.

large_frames default

Affects frame_decoding::FrameDecoderError, websocket-sans-io::PayloadLength, websocket-sans-io::MAX_HEADER_LENGTH

unoptimised_masking explicitly_aligned_masking

Affects masking::apply_mask

masking_slice_size_4 masking_slice_size_8
masking_slice_size_16 masking_slice_size_32