Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump roaring from 0.10.1 to 0.10.2 (#2865)
Bumps [roaring](https://github.com/RoaringBitmap/roaring-rs) from 0.10.1 to 0.10.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/RoaringBitmap/roaring-rs/releases">roaring's releases</a>.</em></p> <blockquote> <h2>Version 0.10.2</h2> <h2>Introduce the <code>RoaringBitmap::remove_smallest/biggests</code> methods</h2> <p>Thanks to <a href="https://github.com/shimatar0"><code>@shimatar0</code></a>, who added those two methods. They remove the <code>n</code> smallest or biggest values from a <code>RoaringBitmap</code>. If <code>n</code> is bigger than the cardinality of the bitmap, it clears it.</p> <pre lang="rust"><code>let mut rb = RoaringBitmap::from_iter([1, 5, 7, 9, 10, 15, 45]); <p>rb.remove_biggest(2); assert_eq!(rb, RoaringBitmap::from_iter([1, 5, 7, 9, 10]));</p> <p>rb.remove_smallest(1); assert_eq!(rb, RoaringBitmap::from_iter([5, 7, 9, 10])); </code></pre></p> <h2><code>RoaringBitmaps/Treemap</code>s support run containers when deserializing</h2> <p>Thanks in part to <a href="https://github.com/josephglanville"><code>@josephglanville</code></a> for the original deserialization code. Bitmaps and treemaps can deserialize run containers which are useful when those come from other libraries from other languages.</p> <p>Note that this library supports run container operations and only converts the run containers into array or bitmap containers depending on the cardinality and will, therefore, not serialize containers into run ones either.</p> <h2>Create <code>RoaringBitmap</code> or <code>RoaringTreemap</code> from an array</h2> <p>Thanks to <a href="https://github.com/michaelmior"><code>@michaelmior</code></a>, you can use the <code>From::from</code> trait method to construct a bitmap from an array. Building them using the <code>FromIterator::from_iter</code> trait method was already possible. It is just even from convenient now.</p> <pre lang="rust"><code>let bitmap = RoaringBitmap::from([10]); let treemap = RoaringTreemap::from([1,2,3]); </code></pre> <h2>Bumped the MSRV to 1.65</h2> <p>While doing crate maintenance, I had to update different crates and bump the minimal supported Rust version to 1.65, which was released eight months ago.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/4f8c798f69c71c88625aebb1042b5552849c7f42"><code>4f8c798</code></a> Merge pull request <a href="https://github.com/RoaringBitmap/roaring-rs/issues/258">#258</a> from RoaringBitmap/bump-version</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/b718d768610d3bca608b14fdb20cb34322e84fe9"><code>b718d76</code></a> Bump the version to 0.10.2</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/42ae34266e27b747632c56c5fbf9da4d976c590a"><code>42ae342</code></a> Bump the MSRV to 1.65.0</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/b8f3a6ab907c59b2237fe23be5b9f98876c3d074"><code>b8f3a6a</code></a> Merge pull request <a href="https://github.com/RoaringBitmap/roaring-rs/issues/257">#257</a> from RoaringBitmap/rename-remove-front-back</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/16b2698a896bce0930b728acf17140c7ae3e521f"><code>16b2698</code></a> Rename the remove_front/back methods into remove_smallest/biggest</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/9f6928582ff9f8fb51492eac9bace5d85396d971"><code>9f69285</code></a> Merge pull request <a href="https://github.com/RoaringBitmap/roaring-rs/issues/253">#253</a> from shimatar0/remove-first-last</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/d63dd699c90cd0b75dff1ce083eef8a812a89728"><code>d63dd69</code></a> Refactor to clearly define the method to clear the bit</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/f7a18aa5f3f44e80fc38291b2620654d0d3a9411"><code>f7a18aa</code></a> Fix clippy warnings</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/deaa66f32719c0750c795d8ef287cca6f9dd5eec"><code>deaa66f</code></a> Add clear method to avoid new allocations</li> <li><a href="https://github.com/RoaringBitmap/roaring-rs/commit/d0e7322a07bf3d68369cd6bcf5a5ace62f7711b1"><code>d0e7322</code></a> Fix unwanted clone</li> <li>Additional commits viewable in <a href="https://github.com/RoaringBitmap/roaring-rs/compare/v0.10.1...v0.10.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=roaring&package-manager=cargo&previous-version=0.10.1&new-version=0.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information