Cargo Features

[dependencies]
vls-core = { version = "0.11.0", default-features = false, features = ["no-std", "std", "secp-lowmemory", "grpc", "debug", "use_backtrace", "log_pretty_print", "test_utils", "debug_enforcement_state", "debug_node_state", "tracker_size_workaround", "timeless_workaround", "txoo-source", "env_logger"] }
default = debug, env_logger, std, use_backtrace

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

no-std

Enables alloc of core2 ^0.3.0, no-std of bitcoin ^0.29 and bitcoin-push-decoder, no-std of lightning ^0.0.116, lightning-invoice ^0.24.0, serde_bolt, and txoo

std default

Enables rand and std of bitcoin ^0.29, std of bitcoin-push-decoder, lightning ^0.0.116, lightning-invoice ^0.24.0, serde_bolt, and txoo

Affects vls-core::prelude.SendSync, persist::fs, signer::ClockStartingTimeFactory

secp-lowmemory

Enables secp-lowmemory of bitcoin ^0.29

grpc = tonic

if you use tonic, this is convenient for auto-conversion of MySigner Status to tonic::Status

debug default = debug_enforcement_state, debug_node_state, log_pretty_print
use_backtrace default test_utils? = backtrace

Affects error::ValidationError.bt

log_pretty_print debug
test_utils = use_backtrace

Enables bitcoinconsensus of bitcoin ^0.29, hex and regex of lightning ^0.0.116, test-utils of txoo

Affects policy::null_validator

debug_enforcement_state debug

trace state at debug level

debug_node_state debug
tracker_size_workaround

issue #187

timeless_workaround

issue #206, #339, #235

Affects clock::Clock.set_workaround_time

txoo-source

Enables source of txoo

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.

core2 no-std?

Enables core2 ^0.3.0

env_logger default

Enables env_logger ^0.9

backtrace use_backtrace
tonic grpc?

Enables tonic ^0.9