Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1.2 #6

Merged
merged 7 commits into from
Mar 10, 2025
Merged

Release 0.1.2 #6

merged 7 commits into from
Mar 10, 2025

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Mar 10, 2025

  • Added ringmap_with_default! and ringset_with_default! to be used with
    alternative hashers, especially when using the crate without std.
  • Implemented PartialEq between each Slice and []/arrays.

waywardmonkeys and others added 7 commits March 10, 2025 13:21
(cherry picked from commit b8bdead54196d333a2f7cd76a1c256e953e440b0)
Both are valid English, but we use "indices" consistently everywhere
else, and that's generally more common in technical contexts.

(cherry picked from commit e7e4de441037d2668b70a2dcf63c9019744fcf5c)
```rust
impl<K: PartialEq, V: PartialEq> PartialEq<[(K, V)]> for map::Slice<K, V> {...}
impl<K: PartialEq, V: PartialEq> PartialEq<map::Slice<K, V>> for [(K, V)] {...}

impl<T: PartialEq> PartialEq<[T]> for set::Slice<T> {...}
impl<T: PartialEq> PartialEq<set::Slice<T>> for [T] {...}
```

Resolves #375

(cherry picked from commit cf9397ff7fca82ade01e669cff75e141474a467d)
(cherry picked from commit 6a8388323adfa4d30137ed95cf53512c496b770e)
(cherry picked from commit 3c1aa9577a543d9fd075307372345801a39d5fd3)
(cherry picked from commit 5fd897196333c830798ade91e655a3c07f131926)

Ported from indexmap to ringmap.

Co-authored-by: Josh Stone <[email protected]>
@cuviper cuviper enabled auto-merge March 10, 2025 20:36
@cuviper cuviper added this pull request to the merge queue Mar 10, 2025
Merged via the queue into indexmap-rs:main with commit e23a022 Mar 10, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants