Cargo Features

[dependencies]
clarinet-files = { version = "2.0.1", default-features = false, features = ["cli", "wasm"] }
default = cli

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

cli default = bitcoin

Enables cli of clarity-repl

wasm = js-sys, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures

Enables wasm of clarity-repl

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.

bitcoin cli

Enables bitcoin ^0.29.2

clarity-repl cli wasm?
js-sys wasm?

Enables js-sys

wasm

serde-wasm-bindgen wasm?
wasm-bindgen wasm?
wasm-bindgen-futures wasm?