From a5993426fddea85c29ac6cd5a0e3096988d72b03 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 12 Dec 2024 12:34:31 +1100 Subject: [PATCH] bitcoin: Improve rustdocs on extern crates Make slight improvement to the extern crates we re-export from `bitcoin`. --- bitcoin/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs index 2c4c76ae1..64c03a5be 100644 --- a/bitcoin/src/lib.rs +++ b/bitcoin/src/lib.rs @@ -61,8 +61,8 @@ extern crate test; #[macro_use] extern crate alloc; -#[cfg(feature = "base64")] /// Encodes and decodes base64 as bytes or utf8. +#[cfg(feature = "base64")] pub extern crate base64; /// Bitcoin base58 encoding and decoding. @@ -84,7 +84,9 @@ pub extern crate io; #[cfg(feature = "ordered")] pub extern crate ordered; -/// Rust wrapper library for Pieter Wuille's libsecp256k1. Implements ECDSA and BIP 340 signatures +/// Re-export the `rust-secp256k1` crate. +/// +/// Rust wrapper library for Pieter Wuille's libsecp256k1. Implements ECDSA and BIP-340 signatures /// for the SECG elliptic curve group secp256k1 and related utilities. pub extern crate secp256k1;