satsnet_internals/lib.rs
1// SPDX-License-Identifier: CC0-1.0
2
3//! # Rust Bitcoin Internal
4//!
5//! This crate is only meant to be used internally by crates in the
6//! [rust-bitcoin](https://github.com/rust-bitcoin) ecosystem.
7//!
8
9#![no_std]
10// Experimental features we need.
11#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12// Coding conventions.
13#![warn(missing_docs)]
14// Exclude lints we don't think are valuable.
15#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
16#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
17#![allow(clippy::needless_borrows_for_generic_args)] // https://github.com/rust-lang/rust-clippy/issues/12454
18
19#[cfg(feature = "alloc")]
20extern crate alloc;
21
22#[cfg(feature = "std")]
23extern crate std;
24
25pub mod array_vec;
26pub mod const_tools;
27pub mod error;
28pub mod macros;
29mod parse;
30pub mod serde;