lightning_types/lib.rs
1// This file is Copyright its original authors, visible in version control
2// history.
3//
4// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
5// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
7// You may not use this file except in accordance with one or both of these
8// licenses.
9
10#![crate_name = "lightning_types"]
11
12//! Various types which are used in the lightning network.
13//!
14//! See the `lightning` crate for usage of these.
15
16#![cfg_attr(not(test), no_std)]
17#![deny(missing_docs)]
18#![forbid(unsafe_code)]
19#![deny(rustdoc::broken_intra_doc_links)]
20#![deny(rustdoc::private_intra_doc_links)]
21#![cfg_attr(docsrs, feature(doc_auto_cfg))]
22
23extern crate alloc;
24extern crate core;
25
26pub mod features;
27pub mod payment;
28pub mod routing;
29pub mod string;