docs: Add doc comments for external crates

This commit is contained in:
yancy 2023-05-08 10:57:49 +02:00
parent dea628276c
commit 639c548aed
2 changed files with 13 additions and 0 deletions

View File

@ -56,11 +56,21 @@ extern crate test;
extern crate alloc; extern crate alloc;
#[cfg(feature = "base64")] #[cfg(feature = "base64")]
/// Encodes and decodes base64 as bytes or utf8.
pub extern crate base64; pub extern crate base64;
/// Encodes and decodes the Bech32 forrmat.
pub extern crate bech32; pub extern crate bech32;
#[cfg(feature = "bitcoinconsensus")] #[cfg(feature = "bitcoinconsensus")]
/// Bitcoin's libbitcoinconsensus with Rust binding.
pub extern crate bitcoinconsensus; pub extern crate bitcoinconsensus;
/// Rust implementation of cryptographic hash function algorithems.
pub extern crate hashes; pub extern crate hashes;
/// 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; pub extern crate secp256k1;
#[cfg(feature = "serde")] #[cfg(feature = "serde")]

View File

@ -85,8 +85,11 @@ extern crate alloc;
extern crate core; extern crate core;
#[cfg(feature = "core2")] #[cfg(feature = "core2")]
extern crate core2; extern crate core2;
#[cfg(feature = "serde")] #[cfg(feature = "serde")]
/// A generic serialization/deserialization framework.
pub extern crate serde; pub extern crate serde;
#[cfg(all(test, feature = "serde"))] #[cfg(all(test, feature = "serde"))]
extern crate serde_test; extern crate serde_test;
#[cfg(bench)] #[cfg(bench)]