Add deprecation comment to hash_types module

The `hash_types` module has been emptied, it now contains only
deprecated re-exports. Add a rustdoc comment stating as such.
This commit is contained in:
Tobin C. Harding 2023-11-08 09:00:53 +11:00
parent 61351c917f
commit 801c72e056
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 5 deletions

View File

@ -2,11 +2,7 @@
//! Bitcoin hash types.
//!
//! This module defines types for hashes used throughout the library. These
//! types are needed in order to avoid mixing data of the same hash format
//! (e.g. `SHA256d`) but of different meaning (such as transaction id, block
//! hash).
//!
//! This module is deprecated. You can find hash types in their respective, hopefully obvious, modules.
#[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use crate::T instead")]
pub use crate::{