Cargo Features

[dependencies]
cast_trait_object = { version = "0.1.3", default-features = false, features = ["full", "docs", "alloc", "proc-macros"] }
default = full

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

full default docs? = alloc, proc-macros
docs = full
alloc full

Enable features that require an allocator.

proc-macros full = cast_trait_object_macros

Enable procedural macros.

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.

cast_trait_object_macros proc-macros?