Cargo Features

[dependencies]
fuel-core-bin = { version = "0.24.2", default-features = false, features = ["env", "p2p", "relayer", "parquet", "rocksdb", "rocksdb-production", "production"] }
default = env, relayer, rocksdb

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

env default production?

Enables dotenvy

p2p production? = const_format

Enables p2p of fuel-core

Affects run::Command.p2p_args, run::Command.sync_args

relayer default production?

Enables url, relayer of fuel-core

Affects run::Command.relayer_args

parquet production?

Enables parquet of fuel-core-chain-config, serde of fuel-core-types

rocksdb default

Enables fuel-core-storage and itertools, rocksdb of fuel-core

Affects snapshot::exec, cli::snapshot

rocksdb-production production?

Enables fuel-core-storage and itertools and rocksdb-production of fuel-core

fuel-core:

features to enable in production, but increase build times

Affects snapshot::exec, cli::snapshot

production = env, p2p, parquet, relayer, rocksdb-production

features to enable in production, but increase build times

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.

const_format p2p?