Cargo Features

[dependencies]
kitsune_p2p = { version = "0.3.0-beta-dev.40", default-features = false, features = ["mock_network", "tx2", "tx5", "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 = kitsune_p2p_transport_quic

Enables tx2 of kitsune_p2p_types

Affects config::AdapterFactoryMock, config::ProxyConfig, config::ProxyAcceptConfig

tx5 default

Enables tx5, tx5 of kitsune_p2p_types

sqlite-encrypted

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

sqlite

Enables sqlite of kitsune_p2p_block, kitsune_p2p_fetch, kitsune_p2p_proxy, kitsune_p2p_timestamp, kitsune_p2p_transport_quic, 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, 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

kitsune_p2p_transport_quic sqlite? sqlite-encrypted? tx2
contrafact fuzzing?
proptest-derive fuzzing?
blake2b_simd test_utils?
maplit test_utils?
mockall mock_network? test_utils?

Enables mockall ^0.11.3

arbitrary fuzzing?

Enables arbitrary

fuzzing

proptest fuzzing?