Cargo Features

[dependencies]
bitcoint4_hashes = { version = "0.12.0", default-features = false, features = ["std", "alloc", "schemars", "serde-std", "core2"] }
default = std

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

std default = alloc

Enables std of bitcoint4-private

alloc std

Enables alloc of bitcoint4-private

schemars = actual-schemars, dyn-clone

Affects util::json_hex_string

serde-std

Enables std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

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.

core2 implicit feature

Enables core2 ^0.3.0

core2:

The bare essentials of std::io for use in no_std. Alloc support is optional.

actual-schemars schemars?

Enables schemars <=0.8.3

dyn-clone schemars?

Enables dyn-clone <=1.0.7

serde serde-std?

Affects serde_macros::serde_details