Cargo Features

[dependencies]
fuel-core-bin = { version = "0.40.0", default-features = false, features = ["aws-kms", "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.

aws-kms production?

Enables aws-config and aws-sdk-kms, aws-kms of fuel-core-poa

Affects run::Command.consensus_aws_kms

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 rocksdb-production?

Enables rocksdb of fuel-core

Affects run::Command.state_rewind_duration, snapshot::exec, cli::rollback, cli::snapshot

rocksdb-production production? = rocksdb

Enables rocksdb-production of fuel-core

fuel-core:

features to enable in production, but increase build times

production = aws-kms, 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?