Cargo Features

klvmr has no features set by default.

[dependencies]
klvmr = { version = "0.8.0", features = ["counters", "pre-eval", "openssl"] }
counters

when enabling the "counters" features, the KLVM interpreter is instrumented to collect counters about the programs it executes

Affects run_program::Counters, run_program::run_program_with_counters

pre-eval

when enabled, pre-eval and post-eval callbacks are enabled. This is useful for debugging and tracing of programs.

Affects run_program::PreEval, run_program::PostEval, run_program::run_program_with_pre_eval

openssl

On UNIX-based platforms, you may get a speed boost on sha256 operations by building with OpenSSL.when enabled

Enables openssl