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.18 to 0.19 #201

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.19.0

This is a small patch release, but must be upgraded to a minor release because of a name change in public API and implementation change that should not, but may, affect public API.

Macro Constructor Implementation

The macros used to construct bitvec literals have had their implementation changed. The introduction of the BitArray type simplifies the construction of buffers from token sequences, so bits! now produces a BitArray on the stack rather than a hidden static.

Specifically, bits! changes its expansion from

{
  static BUFFER: &'static [T; N] = […];
  &BitSlice::<O, T>::from_slice(&BUFFER)[.. LEN]
}

to

(&BitArray::<O, [T; N]>::new([…])[.. LEN])

The test suite demonstrates that the compiler is able to correctly extend the lifetime of the BitArray temporary to match the lifetime of the produced reference. However, if you run into any issue where bits! calls that previously worked now fail due to an insufficiently-scoped temporary, please file an issue.

BitRegister Internal Trait

As BitMemory is now able to describe any integer element in memory, but BitOrder is still able to only operate on processor registers, a new trait BitRegister serves to distinguish memory-bus integers from register-integers. This trait provides no information other than its presence or absence.

BitOrder trait functions are modified to require it as the bound on their type parameters, rather than BitMemory. This name change is visible to users, and thus the reason for the minor release. BitRegister is conditionally implemented according to the supported registers on the target processor.

0.18.3

Per [Issue #75], the BitMemory trait has been loosened to exclusively describe integer types, and not be constrained to only the integers that can be used in

Commits
  • ea9fab5 Refactor the constructor macros to no longer use static buffers
  • c351d9a Refactor the index module to distinguish memory and register
  • c969650 Prep for 0.18.3 release
  • b601025 Closes #75
  • f3209d8 Get a mutable pointer in slice::view_bits_mut
  • f2b5d31 Add a set_uninitialized method. Closes #72
  • 3f95e09 Fix spelling in CHANGELOG (by wcampbell0x2a)
  • f70cf98 Add a GitHub Actions rule to try publishing the manual
  • af69550 Add a Markdown ruleset
  • 5cc4ed2 Write a manual
  • Additional commits viewable in compare view


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 #201 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #201   +/-   ##
=======================================
  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 165915f...ae23b34. Read the comment docs.

myrrlyn commented 3 years ago

this is a patch release but it happens to touch a part of public API that nobody actually uses, thus, the minor

sunjay commented 3 years ago

@myrrlyn Great. Looks like we are good to go then! 🎉