Skip to content

Commit

Permalink
Push to version 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JustForFun88 committed Apr 20, 2022
1 parent 8cc5a02 commit e9c226e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@

All notable changes to this project will be documented in this file.

## [v0.9.0] - 2022-04-20

### Added

- [`PartialEq`](https://doc.rust-lang.org/core/cmp/trait.PartialEq.html) trait implementation for `DHashMap`;
- [`Debug`](https://doc.rust-lang.org/core/fmt/trait.Debug.html) trait implementation for `DHashMap`;

### Changed

Improve realizations of some methods (`get_key1`, `get_key2`, `get_keys`, `get_key1_value`, `get_key2_value`,
`get_keys_value`, `contains_keys`, `get_mut_key1`, `get_mut_key2`, `remove_key1`, `remove_key2`, `insert_unchecked`)

### Removed

- Removed unnecessary lifetime bounds on implementations of
[`ExactSizeIterator`](https://doc.rust-lang.org/stable/core/iter/trait.ExactSizeIterator.html)
for `Iter`, `Keys`, `Values`, `IterMut`, `ValuesMut` structures;
- Removed `K1: Clone` and `K2: Clone` bounds for all `VacantEntry` methods except `insert` method;
- Removed unnecessary `K1: Eq + Hash` and `K2: Eq + Hash` bounds for all `Entry` methods. Remained
`K1: Clone` and `K2: Clone` bounds only for the methods that need on it.
- Removed unnecessary `K1: Eq + Hash + Clone` and `K2: Eq + Hash + Clone` on implementations of
[`Display`](https://doc.rust-lang.org/core/fmt/trait.Display.html) and
[`Error `](https://doc.rust-lang.org/std/error/trait.Error.html) traits for `OccupiedError` structure.
- Removed unnecessary `K1: Eq + Hash + Clone` and `K2: Eq + Hash + Clone` on implementations of
[`Display`](https://doc.rust-lang.org/core/fmt/trait.Display.html) and
[`Error `](https://doc.rust-lang.org/std/error/trait.Error.html) traits for `TryInsertError` structure.

### Fixed

Nothing

## [v0.8.0] - 2022-04-13

### Added
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 = "double-map"
version = "0.8.0"
version = "0.9.0"
authors = ["Alisher Galiev <alishergaliev88@gmail.com>"]
description = "A HashMap with double key to single data/value"
edition = "2021"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ interface. Look at [Change log](CHANGELOG.md) for more information.

### Trait Implementations
- [x] `Clone`: Done since `v0.1.0`
- [ ] `Debug`: Under development
- [x] `Debug`: Done since `v0.9.0`
- [x] `Default`: Done since `v0.3.0`
- [x] `Extend`: Done since `v0.2.0`
- [ ] `From`: Under development
- [x] `FromIterator`: Done since `v0.2.0`
- [ ] `Index`: Under development
- [ ] `IntoIterator`: Under development
- [ ] `PartialEq`: Under development
- [x] `PartialEq`: Done since `v0.9.0`

## License

Expand Down

0 comments on commit e9c226e

Please sign in to comment.