Cargo Features
near-primitives has no features set by default.
[dependencies]
near-primitives = { version = "0.30.0-rc.1", features = ["sandbox", "test_features", "solomon", "rand", "clock", "nightly", "calimero_zero_storage", "protocol_schema", "test_utils"] }
- sandbox
-
Affects
sandbox::state_patch
… - test_features
-
Affects
optimistic_block::OptimisticBlockAdvType
… - solomon = reed-solomon-erasure
-
Affects
block::genesis_chunks
,near-primitives::reed_solomon
… - rand = rand_chacha
-
Enables rand ^0.8.5, rand of near-crypto
Affects
test_utils::create_test_signer
,test_utils::create_user_test_signer
,utils::generate_random_string
… - clock
-
Enables clock and serde of near-time
Affects
test_utils::TestBlockBuilder
,utils::get_block_metadata
… - nightly
-
Enables nightly of near-fmt, near-parameters, and near-primitives-core
- calimero_zero_storage
- protocol_schema
-
Enables protocol_schema of near-schema-checker-lib
- test_utils
-
Affects
near-primitives::test_utils
…
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.