Cargo Features

rc-box = { version = "1.2.0", default-features = false, features = ["slice-dst", "unsize", "erasable"] }
default = erasable

The erasable feature is set by default whenever rc-box is added without default-features = false somewhere in the dependency tree.

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.

slice-dst implicit feature

Enables slice-dst


Slice-based custom DSTs

unsize implicit feature

Enables unsize


A stable alternative to CoerceUnsize

erasable default