Skip to content

Commit

Permalink
Version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Apr 2, 2019
1 parent 83ce3d5 commit af90bc9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ matrix:
env: TARGET=armv7-unknown-linux-gnueabihf CROSS=1
- name: "aarch64-unknown-linux-gnu"
env: TARGET=aarch64-unknown-linux-gnu CROSS=1

install: travis_retry rustup target add "${TARGET}"
script: sh ci/run.sh

Expand Down
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.2.0] - 2019-03-31

### Changed
- The code has been updated to Rust 2018 edition. This means that the minimum
Rust version has been bumped to 1.31 (2018 edition).

### Added
- Added `insert_with_hasher` to the raw_entry API to allow `K: !(Hash + Eq)`. (#54)
- Added support for using hashbrown as the hash table implementation in libstd. (#46)

### Fixed
- Fixed cargo build with minimal-versions. (#45)
- Fixed `#[may_dangle]` attributes to match the libstd `HashMap`. (#46)
- ZST keys and values are now handled properly. (#46)

## [v0.1.8] - 2019-01-14

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

- Initial release

[Unreleased]: https://github.com/Amanieu/hashbrown/compare/v0.1.8...HEAD
[Unreleased]: https://github.com/Amanieu/hashbrown/compare/v0.2.0...HEAD
[v0.1.8]: https://github.com/Amanieu/hashbrown/compare/v0.1.8...v0.2.0
[v0.1.8]: https://github.com/Amanieu/hashbrown/compare/v0.1.7...v0.1.8
[v0.1.7]: https://github.com/Amanieu/hashbrown/compare/v0.1.6...v0.1.7
[v0.1.6]: https://github.com/Amanieu/hashbrown/compare/v0.1.5...v0.1.6
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hashbrown"
version = "0.1.8"
version = "0.2.0"
authors = ["Amanieu d'Antras <[email protected]>"]
description = "A Rust port of Google's SwissTable hash map"
license = "Apache-2.0/MIT"
Expand Down
19 changes: 4 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,14 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
hashbrown = "0.1"
```

In version 0.1.8 rayon support has appeared, so that it works, specify:

```toml
[dependencies]
hashbrown = { version = "0.1", features = ["rayon"] }
```

and this to your crate root:

```rust
extern crate hashbrown;
hashbrown = "0.2"
```

This crate has the following Cargo features:

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

## License

Expand Down

0 comments on commit af90bc9

Please sign in to comment.