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
somewhere in the dependency tree.default-features = false 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 ifstd
is enabled. Thedep:
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