Skip to content

Commit af90bc9

Browse files
committed
Version 0.2.0
1 parent 83ce3d5 commit af90bc9

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ matrix:
5959
env: TARGET=armv7-unknown-linux-gnueabihf CROSS=1
6060
- name: "aarch64-unknown-linux-gnu"
6161
env: TARGET=aarch64-unknown-linux-gnu CROSS=1
62-
62+
6363
install: travis_retry rustup target add "${TARGET}"
6464
script: sh ci/run.sh
6565

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.2.0] - 2019-03-31
11+
12+
### Changed
13+
- The code has been updated to Rust 2018 edition. This means that the minimum
14+
Rust version has been bumped to 1.31 (2018 edition).
15+
16+
### Added
17+
- Added `insert_with_hasher` to the raw_entry API to allow `K: !(Hash + Eq)`. (#54)
18+
- Added support for using hashbrown as the hash table implementation in libstd. (#46)
19+
20+
### Fixed
21+
- Fixed cargo build with minimal-versions. (#45)
22+
- Fixed `#[may_dangle]` attributes to match the libstd `HashMap`. (#46)
23+
- ZST keys and values are now handled properly. (#46)
24+
1025
## [v0.1.8] - 2019-01-14
1126

1227
### Added
@@ -63,7 +78,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6378

6479
- Initial release
6580

66-
[Unreleased]: https://github.com/Amanieu/hashbrown/compare/v0.1.8...HEAD
81+
[Unreleased]: https://github.com/Amanieu/hashbrown/compare/v0.2.0...HEAD
82+
[v0.1.8]: https://github.com/Amanieu/hashbrown/compare/v0.1.8...v0.2.0
6783
[v0.1.8]: https://github.com/Amanieu/hashbrown/compare/v0.1.7...v0.1.8
6884
[v0.1.7]: https://github.com/Amanieu/hashbrown/compare/v0.1.6...v0.1.7
6985
[v0.1.6]: https://github.com/Amanieu/hashbrown/compare/v0.1.5...v0.1.6

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hashbrown"
3-
version = "0.1.8"
3+
version = "0.2.0"
44
authors = ["Amanieu d'Antras <[email protected]>"]
55
description = "A Rust port of Google's SwissTable hash map"
66
license = "Apache-2.0/MIT"

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,14 @@ Add this to your `Cargo.toml`:
6262

6363
```toml
6464
[dependencies]
65-
hashbrown = "0.1"
66-
```
67-
68-
In version 0.1.8 rayon support has appeared, so that it works, specify:
69-
70-
```toml
71-
[dependencies]
72-
hashbrown = { version = "0.1", features = ["rayon"] }
73-
```
74-
75-
and this to your crate root:
76-
77-
```rust
78-
extern crate hashbrown;
65+
hashbrown = "0.2"
7966
```
8067

8168
This crate has the following Cargo features:
8269

83-
- `nightly`: Enables nightly-only features: `no_std` support, `#[may_dangle]` and ~10% speedup from branch hint intrinsics.
70+
- `nightly`: Enables nightly-only features: `no_std` support and `#[may_dangle]`.
71+
- `serde`: Enables serde serialization support.
72+
- `rayon`: Enables rayon parallel iterator support.
8473

8574
## License
8675

0 commit comments

Comments
 (0)