Cargo Features

[dependencies]
txoo = { version = "0.8.0", default-features = false, features = ["no-std", "std", "prover", "source", "use-serde", "test-utils"] }
default = prover, source, std

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

no-std

Enables no-std of bitcoin ^0.30, alloc of core2 ^0.3, no-std of serde_bolt

std default

Enables std of bitcoin ^0.30, serde, and serde_bolt

serde:

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

Affects txoo::source

prover default
source default = async-trait, hyper, hyper-rustls, serde_yaml, url, use-serde

Affects txoo::source

use-serde source = serde

Enables serde of bitcoin ^0.30

test-utils

Affects proof::DUMMY_ORACLE_SECRET

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.

serde std use-serde?
serde_yaml source
core2 no-std?

Enables core2 ^0.3

async-trait source
hyper source

Enables hyper ^0.14

hyper-rustls source

Enables hyper-rustls ^0.24

match the reqwest version used by bitcoind-client

url source