Cargo Features
[dependencies]
vls-core = { version = "0.14.0-rc.1", 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", "shuttle", "env_logger"] }
- default = debug, env_logger, std, use_backtrace
-
These default features are set whenever
vls-core
is added without
somewhere in the dependency tree.default-features = false - no-std
-
Enables no-std of bitcoin-push-decoder, serde_bolt, and txoo
- std default
-
Enables rand-std and std of bitcoin, std of bitcoin-push-decoder, lightning, lightning-invoice, serde_bolt, tracing, and txoo
Affects
vls-core::prelude.SendSync
,persist::fs
,signer::ClockStartingTimeFactory
… - secp-lowmemory
-
Enables secp-lowmemory of bitcoin
- 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
- use_backtrace default test_utils? = backtrace
-
Affects
error::ValidationError.bt
… - log_pretty_print
- test_utils = use_backtrace
-
Enables bitcoinconsensus and rand-std of bitcoin, regex of lightning, test_utils of serde_bolt, 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
- shuttle
-
For stress-testing
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.
- env_logger default
- backtrace use_backtrace
- tonic grpc?
-
Enables tonic ^0.12.0