Cargo Features
[dependencies]
rgb-lightning = { version = "0.0.1", default-features = false, features = ["max_level_off", "max_level_info", "max_level_trace", "unsafe_revoked_tx_signing", "no-std", "std", "grind_signatures", "hex", "regex", "backtrace"] }
- max_level_off
-
Unlog messages superior at targeted level.
- max_level_error max_level_warn max_level_info
- max_level_debug max_level_trace
- unsafe_revoked_tx_signing
-
Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling).
This is unsafe to use in production because it may result in the counterparty publishing taking our funds. - no-std = hashbrown
-
Enables no-std of bitcoin ^0.29.0, alloc of core2 ^0.3.0
- std default
-
Enables std of bitcoin ^0.29.0
- grind_signatures default
-
Generates low-r bitcoin signatures, which saves 1 byte in 50% of the cases
- default = grind_signatures, std
-
These default features are set whenever
rgb-lightning
is added without
somewhere in the dependency tree.default-features = false
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.
- hashbrown no-std?
-
Enables hashbrown ^0.8
- hex implicit feature
-
Enables hex
hex:
Encoding and decoding data into/from hexadecimal representation
- regex implicit feature
- backtrace implicit feature
-
Enables backtrace
backtrace:
A library to acquire a stack trace (backtrace) at runtime in a Rust program
- core2 no-std?
-
Enables core2 ^0.3.0