Cargo Features

[dependencies]
tari_core = { version = "1.0.0-rc.5", default-features = false, features = ["transactions", "mempool_proto", "base_node", "base_node_proto", "benches", "metrics"] }
default = base_node

The base_node feature is set by default whenever tari_core is added without default-features = false somewhere in the dependency tree.

transactions base_node

Affects tari_core::transactions

mempool_proto base_node

Affects tari_core::mempool, mempool::proto, mempool::service

base_node default benches? = base_node_proto, mempool_proto, monero, randomx-rs, tari_mmr, transactions

Affects base_node::chain_metadata_service, base_node::comms_interface, base_node::service, base_node::state_machine_service, rpc::sync_utxos_by_block_task, rpc::create_base_node_wallet_rpc_service, sync::ban, rpc::create_base_node_sync_rpc_service, blocks::genesis_block, common::rolling_avg, common::rolling_vec, tari_core::chain_storage, tari_core::iterators, tari_core::validation, proof_of_work::monero_rx, proof_of_work::randomx_factory, transactions::test_helpers, base_node::sync, base_node::proto, base_node::rpc

base_node_proto base_node

Affects base_node::sync, base_node::proto, base_node::rpc, sync::rpc, tari_core::base_node, tari_core::proto

benches = base_node
metrics = tari_metrics

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.

tari_metrics metrics?
tari_mmr base_node
monero base_node

Enables monero ^0.20.0

randomx-rs base_node