Cargo Features

near-network-primitives has no features set by default.

[dependencies]
near-network-primitives = { version = "0.15.0", features = ["deepsize_feature", "test_features"] }
deepsize_feature = deepsize

Enables deepsize_feature of near-primitives ^0.15.0

test_features

Affects types::NetworkAdversarialMessage

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.

deepsize deepsize_feature?