Cargo Features

[dependencies]
doubletake = { version = "0.0.0-alpha.13", default-features = false, features = ["serde", "cli", "wasm"] }
default = cli

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

serde cli wasm?

Enables serde, serde of bitcoin ^0.30.1 and elements ^0.23.0

Affects util::serde

cli default = clap, serde, serde_json

Required by the binary

wasm = console_error_panic_hook, serde, serde-wasm-bindgen, serde_json, wasm-bindgen

Enables js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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_json cli wasm?
clap cli

Enables clap

binary

wasm-bindgen wasm?

Enables wasm-bindgen

wasm

serde-wasm-bindgen wasm?

Enables serde-wasm-bindgen ^0.5.0

console_error_panic_hook wasm?