Cargo Features
[dependencies]
fuel-core-bin = { version = "0.40.2", default-features = false, features = ["aws-kms", "env", "p2p", "shared-sequencer", "relayer", "parquet", "rocksdb", "rocksdb-production", "production"] }
- default = env, relayer, rocksdb
-
These default features are set whenever
fuel-core-bin
is added without
somewhere in the dependency tree.default-features = false - aws-kms production?
-
Enables aws-config and aws-sdk-kms, aws-kms of fuel-core-types
Affects
run::Command.consensus_aws_kms
… - env default production?
-
Enables dotenvy
- p2p production? = const_format
-
Affects
run::Command.p2p_args
,run::Command.sync_args
… -
Enables fuel-core-shared-sequencer, shared-sequencer of fuel-core
Affects
run::Command.shared_sequencer_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?
-
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, shared-sequencer
-
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.