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 whenevercast_trait_object
is added without
somewhere in the dependency tree.default-features = false - 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.