Cargo Features
[dependencies]
supply-chain-trust-example-crate-000051 = { version = "0.8.4", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneversupply-chain-trust-example-crate-000051
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-queue, and crossbeam-utils
crossbeam-channel:
Enable to use APIs that require
std
. This is enabled by default.NOTE: Disabling
std
feature is not supported yet. - alloc std
-
Enables alloc of crossbeam-epoch and crossbeam-queue
crossbeam-epoch:
Enable to use APIs that require
alloc
. This is enabled by default and also enabled if thestd
feature is enabled.NOTE: Disabling both
std
andalloc
features is not supported yet.
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.