Cargo Features
[dependencies]
xdc = { version = "0.1.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverxdc
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of xdc_macros
- alloc std
-
Enables alloc of xdc_macros
Affects
xdc::ObjBase.to_base_boxed
,xdc::try_cast_boxed
…