Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Add archival notice to readme
Browse files Browse the repository at this point in the history
This repo is about to be archived, it turns out we don't want to do
this.
  • Loading branch information
tcharding committed Sep 4, 2024
1 parent e2cf433 commit 966a54a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
**This was an exploratory crate that turned out not to be useful, the
repository is being archived and this crate should not be used**

If you would like to use the crate name, reach out to me.

# Rust Cryptographic Hash Functions.

This is a simple, minimal-dependency library which implements the bunch of crypotographic hash
Expand Down
13 changes: 0 additions & 13 deletions src/internal_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@

//! Non-public macros

/// Adds `AsRef` implementation to a given type `$ty`.
macro_rules! as_ref_impl(
($ty:ident) => (
$crate::internal_macros::as_ref_impl!($ty, );
);
($ty:ident, $($gen:ident: $gent:ident),*) => (
impl<$($gen: $gent),*> $crate::_export::_core::convert::AsRef<[u8]> for $ty<$($gen),*> {
fn as_ref(&self) -> &[u8] { &self[..] }
}
)
);
pub(crate) use as_ref_impl;

/// Adds an implementation of the `HashEngine::input` method.
macro_rules! engine_input_impl(
($n:literal) => (
Expand Down

0 comments on commit 966a54a

Please sign in to comment.