Cargo Features

[dependencies]
s2n-codec = { version = "0.49.0", default-features = false, features = ["std", "alloc", "checked_range_unsafe", "generator", "testing", "bytes"] }
default = bytes, std

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

std default testing? = alloc
alloc std

Affects value::EncoderValue.encode_to_vec

checked_range_unsafe
generator testing? = bolero-generator
testing = generator, std

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.

bolero-generator generator?
bytes default

Affects encoder::Encoder.write_bytes