Cargo Features

[dependencies]
slimmer_box = { version = "0.6.5", default-features = false, features = ["std", "rkyv", "serde"] }
default = std

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

std default

Enables std of ptr_meta ^0.2.0

Features from optional dependencies

rkyv implicit feature

Enables rkyv ^0.7.39

rkyv:

Zero-copy deserialization framework for Rust

Affects slimmer_box::rkyv

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects slimmer_box::serde