Merge rust-bitcoin/rust-bitcoin#4170: Improve crate docs headings

83d071e54b chacha20: Add whitespace (Tobin C. Harding)
4451724d31 chacha20: Add a docs heading (Tobin C. Harding)
d4417f9666 io: Improve crate docs heading (Tobin C. Harding)
c466554948 hashes: Improve crate docs heading (Tobin C. Harding)
6f4eb60936 Improve docs crate headings (Tobin C. Harding)

Pull request description:

  Make them all uniform after taking 2 minutes online to try find a nice format.

ACKs for top commit:
  apoelstra:
    ACK 83d071e54be0bc4ebd760a490a3ca887c0bf90a8; successfully ran local tests; lgtm

Tree-SHA512: 6f08c6cda91a7a870f1080b497f89607ac3d6b3c0234cbd2ba2da8710d46816398acac0bca2a49a3bc9466b814ae446842d3d304a3735df9f983e3ff5df005db
This commit is contained in:
merge-script 2025-03-03 20:05:29 +00:00
commit 6483244280
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
5 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,10 @@
// SPDX-License-Identifier: CC0-1.0
//! # ChaCha20 - Poly1305
//!
//! Combine the ChaCha20 stream cipher with the Poly1305 message authentication code
//! to form an authenticated encryption with additional data (AEAD) algorithm.
#![no_std]
// Experimental features we need.
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0
//! Rust hashes library.
//! # Rust Bitcoin Hashes Library
//!
//! This library implements the hash functions needed by Bitcoin. As an ancillary thing, it exposes
//! hexadecimal serialization and deserialization, since these are needed to display hashes.

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0
//! Rust-Bitcoin I/O Library
//! # Rust Bitcoin I/O Library
//!
//! The [`std::io`] module is not exposed in `no-std` Rust so building `no-std` applications which
//! require reading and writing objects via standard traits is not generally possible. Thus, this

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0
//! # Rust Bitcoin - primitive types.
//! # Rust Bitcoin - primitive types
//!
//! Primitive data types that are used throughout the [`rust-bitcoin`] ecosystem.
//!

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0
//! Rust Bitcoin units library
//! # Rust Bitcoin - unit types
//!
//! This library provides basic types used by the Rust Bitcoin ecosystem.