1 #![crate_name = "lightning"]
3 //! Rust-Lightning, not Rusty's Lightning!
5 //! A full-featured but also flexible lightning implementation, in library form. This allows the
6 //! user (you) to decide how they wish to use it instead of being a fully self-contained daemon.
7 //! This means there is no built-in threading/execution environment and its up to the user to
8 //! figure out how best to make networking happen/timers fire/things get written to disk/keys get
9 //! generated/etc. This makes it a good candidate for tight integration into an existing wallet
10 //! instead of having a rather-separate lightning appendage to a wallet.
12 #![cfg_attr(not(feature = "fuzztarget"), deny(missing_docs))]
15 extern crate bitcoin_hashes;
17 extern crate secp256k1;
18 #[cfg(test)] extern crate hex;