Cargo Features

[dependencies]
clarity-repl = { version = "2.0.0", default-features = false, features = ["cli", "sdk", "dap", "wasm"] }
default = cli, dap

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

cli default = pico-args, prettytable-rs, rustyline

Enables canonical and developer-mode of clarity-vm, tokio_helpers of hiro-system-kit ^0.1.0

Affects clarity-repl::frontend, debug::cli

sdk

Enables canonical and developer-mode of clarity-vm, tokio_helpers of hiro-system-kit ^0.1.0

dap default = bytes, debug_types, futures, httparse, log, memchr, tokio, tokio-util

Affects debug::dap

wasm = wasm-bindgen, wasm-bindgen-futures

Enables wasm of clarity-vm

Affects clarity-repl::init_session, clarity-repl::handle_command

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.

clarity-vm cli sdk? wasm?
tokio dap

Enables tokio

DAP Debugger

tokio-util dap
futures dap
debug_types dap
httparse dap
bytes dap
log dap
memchr dap
pico-args cli

Enables pico-args ^0.4.0

CLI

rustyline cli

Enables rustyline ^9.1.1

prettytable-rs cli
wasm-bindgen wasm?

Enables wasm-bindgen

WASM

wasm-bindgen-futures wasm?