Cargo Features
[dependencies]
dyn-any = { version = "0.3.1", default-features = false, features = ["derive", "log-bad-types", "rc", "glam", "std", "alloc", "large-atomics"] }
- derive = dyn-any-derive
- log-bad-types = log
-
Affects
dyn-any::DynAny.type_name
… - rc std
-
Opt into impls for Rc<T> and Arc<T>.
- glam std
-
Opt into impls for some glam types
Enables glam ^0.22
- default = large-atomics, std
-
These default features are set whenever
dyn-any
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, rc
-
Enables glam ^0.22
- alloc std
-
Affects
dyn-any::UpcastFrom.up_from_box
,dyn-any::Upcast.up_box
,dyn-any::downcast
,dyn-any::IntoDynAny
… - large-atomics default
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.