Skip to content

Commit 87b346f

Browse files
Mateusz FaltynMateusz Faltyn
Mateusz Faltyn
authored and
Mateusz Faltyn
committed
Document lightning crate features
1 parent e7be65d commit 87b346f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

lightning/src/lib.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,6 @@
1717
//! figure out how best to make networking happen/timers fire/things get written to disk/keys get
1818
//! generated/etc. This makes it a good candidate for tight integration into an existing wallet
1919
//! instead of having a rather-separate lightning appendage to a wallet.
20-
<<<<<<< HEAD
21-
//!
22-
//! `default` features are:
23-
//!
24-
//! * `std` - enables functionalities which require `std`, including `std::io` trait implementations and things which utilize time
25-
//! * `grind_signatures` - enables generation of [low-r bitcoin signatures](https://bitcoin.stackexchange.com/questions/111660/what-is-signature-grinding), which saves 1 byte per signature in 50% of the cases (see [bitcoin PR #13666](https://github.com/bitcoin/bitcoin/pull/13666))
26-
//!
27-
//! Available features are:
28-
//!
29-
//! * `std`
30-
//! * `grind_signatures`
31-
//! * `no-std ` - exposes write trait implementations from the `core2` crate
32-
//! * Skip logging of messages at levels below the given log level:
33-
//! * `max_level_off`
34-
//! * `max_level_error`
35-
//! * `max_level_warn `
36-
//! * `max_level_info`
37-
//! * `max_level_debug`
38-
//! * `max_level_trace`
39-
40-
=======
4120
//!
4221
//! `default` features are:
4322
//!
@@ -57,7 +36,6 @@
5736
//! * `max_level_info`
5837
//! * `max_level_debug`
5938
//! * `max_level_trace`
60-
>>>>>>> b89b65c9 (Use new spec repository URL.)
6139
6240
#![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), deny(missing_docs))]
6341
#![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), forbid(unsafe_code))]

0 commit comments

Comments
 (0)