Cargo Features
[dependencies]
fuel-core-bin = { version = "0.25.3", 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
somewhere in the dependency tree.default-features = false - env default production?
-
Enables dotenvy
- p2p production? = const_format
-
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
-
Affects
snapshot::exec
,cli::snapshot
… - rocksdb-production production?
-
Enables 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.