Cargo Features
[dependencies]
fuel-core-types = { version = "0.41.0", default-features = false, features = ["std", "alloc", "serde", "da-compression", "random", "aws-kms", "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 = derivative
-
Enables fuel-vm
- serde
- da-compression
-
Enables da-compression of fuel-vm
- random test-helpers?
- aws-kms
-
Enables aws-sdk-kms
- 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.