Cargo Features

[dependencies]
thin-vec = { version = "0.2.13", default-features = false, features = ["std", "unstable", "gecko-ffi", "serde"] }
default = std

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

std default
unstable
gecko-ffi

Gecko specific features. These features cause thin-vec to have the same layout and behaviour as nsTArray, allowing it to be used in C++ FFI. Requires the empty header to be statically linked in with the symbol name "sEmptyTArrayHeader"

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework