Merge pull request #83 from paritytech/dp/chore/fix-plain-hasher-readme

Documentation fixes
This commit is contained in:
Wei Tang 2019-01-29 18:06:08 +01:00 committed by GitHub
commit d9226f795b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "plain_hasher"
description = "Hasher for 32-bit keys."
version = "0.2.0"
description = "Hasher for 32-byte keys."
version = "0.2.1"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
keywords = ["hash", "hasher"]
@ -9,8 +9,8 @@ homepage = "https://github.com/paritytech/parity-common"
categories = [ "no-std"]
[dependencies]
crunchy = "0.1.6"
crunchy = { version = "0.2.1", default-features = false }
[features]
default = ["std"]
std = []
std = ["crunchy/std"]

View File

@ -1,5 +1,5 @@
# Specialized Hasher for 32-bit keys
# Specialized Hasher for 32-byte keys
Provides `PlainHasher`, a specialized `core::hash::Hasher` that takes just 8 bytes of the provided value and may only be used for keys which are 32 bytes.
The crate is `no_std`-compatible.
The crate is `no_std`-compatible.