From f7ef4e26f0e6f308563483e8ccb082dce919d8ff Mon Sep 17 00:00:00 2001 From: Maia <66437537+maia-s@users.noreply.github.com> Date: Sun, 14 Jan 2024 15:08:11 +0100 Subject: [PATCH] things i should've changed before publishing the first version --- anyhash/Cargo.toml | 2 +- anyhash/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/anyhash/Cargo.toml b/anyhash/Cargo.toml index 9e70b2a..fe26c51 100644 --- a/anyhash/Cargo.toml +++ b/anyhash/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Maia S. R."] license = "MIT OR Apache-2.0 OR Zlib" description = "Traits and utilities for making hashes of any type" repository = "https://github.com/maia-s/anyhash" -keywords = ["hash", "hashing", "generic"] +keywords = ["hash", "hashing", "generic", "endian", "endian-independent"] categories = ["algorithms", "no-std", "no-std::no-alloc"] [features] diff --git a/anyhash/src/lib.rs b/anyhash/src/lib.rs index 0389b8f..789e2e8 100644 --- a/anyhash/src/lib.rs +++ b/anyhash/src/lib.rs @@ -182,6 +182,7 @@ pub use anyhash_macros::impl_core_hasher; pub use anyhash_macros::impl_core_build_hasher; /// Implement [`Hash`] for types that already implement `core::hash::Hash`. +/// Only use this if you can't use the derive macro or implement `Hash` yourself. /// This will panic if `core::hash::Hasher::finish` is called during hashing. /// /// ```