Cargo Features

[dependencies]
bip324 = { version = "0.5.0", default-features = false, features = ["std", "alloc", "async", "tokio"] }
default = std

The std feature is set by default whenever bip324 is added without default-features = false somewhere in the dependency tree.

std default async? tokio? = alloc

Enables std of bitcoin, std and std_rng of rand

Affects bip324::serde, bip324::ProtocolError, bip324::ProtocolFailureSuggestion

alloc std

Affects bip324::Payload

async = std

Enables std of futures

Affects bip324::AsyncProtocol, bip324::AsyncProtocolReader, bip324::AsyncProtocolWriter

tokio = std

Enables io-util of tokio >=1.37.0, <1.39.0

Must be under 1.39.0 due to MSRV 1.63.0 requirement.

Affects bip324::AsyncProtocol, bip324::AsyncProtocolReader, bip324::AsyncProtocolWriter

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.

futures async?