Cargo Features

[dependencies]
fuels = { version = "0.66.10", default-features = false, features = ["coin-cache", "std", "fuel-core-lib", "rocksdb"] }
default = coin-cache, std

These default features are set whenever fuels is added without default-features = false somewhere in the dependency tree.

Enables fuels-accounts of optional fuels-test-helpers

coin-cache default

Enables coin-cache of fuels-accounts

std default

The crates enabled via dep: below are not currently wasm compatible, as such they are only available if std is enabled. The dep: syntax was used so that we don't get a new feature flag for every optional dependency.

Enables fuel-core-client, std of fuels-accounts, fuels-core, fuels-programs, and fuels-test-helpers

Affects fuels::client, fuels::programs, fuels::test_helpers

fuel-core-lib

Enables fuel-core-lib of optional fuels-test-helpers

rocksdb

Enables rocksdb of optional fuels-test-helpers