Cargo Features

near-primitives has no features set by default.

[dependencies]
near-primitives = { version = "0.21.2", features = ["sandbox", "dump_errors_schema", "protocol_feature_fix_staking_threshold", "protocol_feature_fix_contract_loading_cost", "protocol_feature_reject_blocks_with_outdated_protocol_version", "nightly", "nightly_protocol", "new_epoch_sync", "calimero_zero_storage"] }
sandbox

Affects sandbox::state_patch

dump_errors_schema

Enables dump_errors_schema of near-rpc-error-macro

protocol_feature_fix_staking_threshold nightly?

Enables protocol_feature…staking_threshold of near-primitives-core

protocol_feature_fix_contract_loading_cost nightly?

Enables protocol_feature…loading_cost of near-primitives-core

protocol_feature_reject_blocks_with_outdated_protocol_version nightly?

Enables protocol_feature…protocol_version of near-primitives-core

nightly = nightly_protocol, protocol_feature…loading_cost, protocol_feature…staking_threshold, protocol_feature…protocol_version

Enables nightly of near-fmt, near-o11y, near-parameters, near-primitives-core, and near-vm-runner

nightly_protocol nightly?

Enables nightly_protocol of near-fmt, near-o11y, near-parameters, near-primitives-core, and near-vm-runner

new_epoch_sync

Affects epoch_manager::epoch_sync, errors::epoch_sync

calimero_zero_storage