Cargo Features

[dependencies]
xdc = { version = "0.1.0", default-features = false, features = ["std", "alloc"] }
default = std

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

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