Cargo Features
[dependencies]
fuel-core-types = { version = "0.40.0", default-features = false, features = ["std", "alloc", "serde", "da-compression", "random", "test-helpers"] }
- default = std
-
The
std
feature is set by default wheneverfuel-core-types
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, bs58
-
Affects
block_importer::SharedImportResult
,services::p2p
,services::txpool
… - alloc std
-
Enables fuel-vm
- serde
- da-compression
-
Enables da-compression of fuel-vm
- random test-helpers?
- test-helpers = random
-
Enables test-helpers of fuel-vm
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.