Cargo Features

[dependencies]
kitsune_p2p = { version = "0.5.0-dev.3", default-features = false, features = ["mock_network", "tx2", "tx5", "instrument", "sqlite-encrypted", "sqlite", "fuzzing", "test_utils"] }
default = tx2, tx5

These default features are set whenever kitsune_p2p is added without default-features = false somewhere in the dependency tree.

mock_network = mockall

Enables test_utils of kitsune_p2p_types

Affects test_util::mock_network

tx2 default

Enables tx2 of kitsune_p2p_types

tx5 default

Enables tx5, tx5 of kitsune_p2p_types

instrument
sqlite-encrypted

Enables sqlite-encrypted of kitsune_p2p_block, kitsune_p2p_fetch, kitsune_p2p_proxy, kitsune_p2p_timestamp, and kitsune_p2p_types

sqlite

Enables sqlite of kitsune_p2p_block, kitsune_p2p_fetch, kitsune_p2p_proxy, kitsune_p2p_timestamp, and kitsune_p2p_types

fuzzing = arbitrary, contrafact, proptest, proptest-derive

Enables fuzzing of kitsune_p2p_fetch, kitsune_p2p_timestamp, and kitsune_p2p_types

test_utils = blake2b_simd, fixt, maplit, mockall

Enables test_utils of ghost_actor =0.3.0-alpha.6, fixt of kitsune_p2p_bin_data, fixt and test_utils of kitsune_p2p_types, test-util of tokio

Affects kitsune_p2p::test_util

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.

reminder - do not use workspace deps

contrafact fuzzing?
proptest-derive fuzzing?
blake2b_simd test_utils?
maplit test_utils?
mockall mock_network? test_utils?

Enables mockall ^0.11.3

fixt test_utils?
arbitrary fuzzing?

Enables arbitrary

fuzzing

proptest fuzzing?