File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.0
2
+
3
+ - Replace hash with faster and better finalized hash.
4
+ This replaces the previous "fxhash" algorithm originating in Firefox
5
+ with a custom hasher designed and implemented by Orson Peters ([ ` @orlp ` ] ( https://github.com/orlp ) ).
6
+ It was measured to have slightly better performance for rustc, has better theoretical properties
7
+ and also includes a signficantly better string hasher.
8
+ - Fix ` no_std ` builds
9
+
10
+ ## 1.2.0 (** YANKED** )
11
+
12
+ ** Note: This version has been yanked due to issues with the ` no_std ` feature!**
13
+
14
+ - Add a ` FxBuildHasher ` unit struct
15
+ - Improve documentation
16
+ - Add seed API for supplying custom seeds other than 0
17
+ - Add ` FxRandomState ` based on ` rand ` (behind the ` rand ` feature) for random seeds
18
+ - Make many functions ` const fn `
19
+ - Implement ` Clone ` for ` FxHasher ` struct
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustc-hash"
3
- version = " 1.2 .0"
3
+ version = " 2.0 .0"
4
4
authors = [" The Rust Project Developers" ]
5
5
description = " A speedy, non-cryptographic hashing algorithm used by rustc"
6
6
license = " Apache-2.0/MIT"
Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ The `std` feature is on by default to enable collections.
38
38
It can be turned off in ` Cargo.toml ` like so:
39
39
40
40
``` toml
41
- rustc-hash = { version = " 1.2 " , default-features = false }
41
+ rustc-hash = { version = " 2.0 " , default-features = false }
42
42
```
You can’t perform that action at this time.
0 commit comments