Skip to content

Commit 3b1f80e

Browse files
authored
signature: revome PrehashSignature (#1924)
Closes #1917.
1 parent e88b28f commit 3b1f80e

File tree

3 files changed

+2
-30
lines changed

3 files changed

+2
-30
lines changed

signature/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- `std` feature - replaced with `core::error::Error`
1616
- `derive` feature
1717
- `SignerMut` blanket implementation for `Signer`
18+
- `PrehashSignature` trait
1819

1920
[#1448]: https://github.com/RustCrypto/traits/pull/1448
2021
[#1759]: https://github.com/RustCrypto/traits/pull/1759

signature/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,9 @@ mod signer;
141141
mod verifier;
142142

143143
#[cfg(feature = "digest")]
144-
mod prehash_signature;
144+
pub use digest;
145145

146146
pub use crate::{encoding::*, error::*, keypair::*, signer::*, verifier::*};
147147

148-
#[cfg(feature = "digest")]
149-
pub use {crate::prehash_signature::*, digest};
150-
151148
#[cfg(feature = "rand_core")]
152149
pub use rand_core;

signature/src/prehash_signature.rs

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)