Cargo Features

[dependencies]
octseq = { version = "0.5.1", default-features = false, features = ["std", "bytes", "heapless", "serde", "smallvec"] }
default = std

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

std default

Enables std of optional bytes

Affects serde::BufVisitor

Features from optional dependencies

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

heapless implicit feature

Enables heapless

heapless:

static friendly data structures that don't require dynamic memory allocation

Affects serde::HeaplessVecVisitor

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects array::ArrayVisitor

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

Affects octets::SmallOctets