sunjay / turtle

Create Animated Drawings in Rust
http://turtle.rs
Mozilla Public License 2.0
559 stars 54 forks source link

Update bitvec requirement from 0.17 to 0.18 #198

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on bitvec to permit the latest version.

Changelog

Sourced from bitvec's changelog.

0.18.1

This fixes [Issue #69] and adds [Pull Request #68].

0.18.0

This release was implemented as a total discard and rewrite of the crate. The rewrite is largely a copy of what was discarded, but the crate has been rebuilt from nothing in order to provide more confidence that all parts of it were reached. As such, this release has a lot of changes.

This release raises the MSRV to 1.44.0, as [Rust PR #69373] stabilizes the integer constructors from_{b,l,n}e_bytes and removes the need to reïmplement them internally.

Added

  • The CI test harness now covers targets beyond x86_64-unknown-linux-gnu, thanks to GitHub user [@Alexhuszagh]. bitvec guarantees support for all targets listed in the CI matrix through at least the next major relase. If your target is not in this list, please file an issue for inclusion.

  • BitStore is implemented on the AtomicUN corresponding to each uN that implements BitStore, as well as on Cell<uN>.

Bit Arrays in Value Position

The BitArray<O, V> type begins support for emulating the C++ std::bitset<N> type, parameterized over the length in bits. This has been requested in the past, such as in GitHub [issue #32], and is still (as of writing) not able to be correctly implemented. Instead, BitArray is parameterized by a scalar or array type that is large enough to hold the number of bits that the user wants.

The bitarr! macro constructs either values of BitArray<O, V> with the same syntax as the other three macros, or constructs BitArary<O, V> typenames suitable for a number of bits in a given order/store array. Invoked as bitarr!(for BITS, in ORDER, STORE), it produces a typename that can be used to correctly type locations that cannot use inference from a value assigned into them, such as struct fields, static bindings, and const values.

Until type-level integers stabilize, this is the closest solution to the std::bitset<N> behavior that bitvec can provide.

Changed

  • The implementation of the BitStore trait is refactored to fully separate the concepts of memory storage and access. This is not a breaking change to the user API, as BitStore is an opaque trait that can only be used in marker position.
Commits


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 commands and options
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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
codecov[bot] commented 3 years ago

Codecov Report

Merging #198 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #198   +/-   ##
=======================================
  Coverage   60.78%   60.78%           
=======================================
  Files          40       40           
  Lines        2637     2637           
=======================================
  Hits         1603     1603           
  Misses       1034     1034           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3b19bf0...f534cd1. Read the comment docs.

sunjay commented 3 years ago

cc @myrrlyn in case you have some time to work on this at some point. Looks like examples/bits.rs is the only source file that needs to be updated. :)

dependabot-preview[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.