Cargo Features
[dependencies]
crosstrait = { version = "0.1.1", default-features = false, features = ["std", "alloc", "used_linker"] }
- default = std
-
The
std
feature is set by default whenevercrosstrait
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
once_cell:
Enables
once_cell::sync
module.Affects
crosstrait::Caster.rc
,crosstrait::Caster.arc
,crosstrait::Registry
… - alloc std
-
Affects
crosstrait::Caster.box_
… - used_linker
-
Enables used_linker of linkme