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 whenever fuel-core-types is added without default-features = false somewhere in the dependency tree.

std default = alloc, bs58

Enables std of fuel-vm

Affects block_importer::SharedImportResult, services::p2p, services::txpool

alloc std

Enables fuel-vm

serde

Enables serde, serde of fuel-vm

da-compression

Enables da-compression of fuel-vm

random test-helpers?

Enables rand, random of fuel-vm

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.

bs58 std