Cargo Features

[dependencies]
clarity-vm = { version = "2.3.0", default-features = false, features = ["canonical", "log", "sqlite", "wasm", "developer-mode", "slog_json", "testing"] }
default = canonical, log

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

canonical default testing? = serde_stacker, sqlite, wasmtime

Enables canonical of stacks-common

Affects vm::clarity_wasm

log default wasm? = slog

Enables log of stacks-common

sqlite canonical = rusqlite

Affects analysis::mem_type_check, clarity_store::ClarityBackingStore.get_side_store, database::sqlite, contracts::make_docs, contracts::produce_docs_refs, vm::tooling

wasm = developer-mode, getrandom, log

Enables wasm of stacks-common

developer-mode wasm?

Enables developer-mode of stacks-common

Affects representations::PreSymbolicExpression.span, representations::SymbolicExpression.span, representations::SymbolicExpression.pre_comments, representations::SymbolicExpression.end_line_comment, representations::SymbolicExpression.post_comments

slog_json

Enables slog_json of stacks-common

testing = canonical, rstest, rstest_reuse

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_stacker canonical
slog log
stacks-common canonical developer-mode? log slog_json? wasm?
rstest testing?

Enables rstest ^0.17.0

rstest_reuse testing?

Enables rstest_reuse ^0.5.0

wasmtime canonical

Enables wasmtime ^15.0.0

getrandom wasm?
rusqlite sqlite?

Enables rusqlite =0.28.0