Cargo Features

[dependencies]
bitcoin-spv = { version = "5.0.0", default-features = false, features = ["std"] }
default = std

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

std default = serde, serde_json

Enables std of sha2 ^0.8.0, std of hex, primitive-types ^0.7.2, and ripemd160 ^0.8.0 and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects bitcoin-spv::std_types, bitcoin-spv::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.

hex std

Enables hex

std

serde_json std
serde std