Gekkio / mooneye-gb

A Game Boy research project and emulator written in Rust
GNU General Public License v3.0
892 stars 56 forks source link

Bump arrayvec from 0.5.2 to 0.7.2 #162

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Bumps arrayvec from 0.5.2 to 0.7.2.

Changelog

Sourced from arrayvec's changelog.

0.7.2

0.7.1

  • Add new ArrayVec methods .take() and .into_inner_unchecked() by @​conradludgate
  • clone_from now uses truncate when needed by @​a1phyr

0.7.0

  • fn new_const is now the way to const-construct arrayvec and arraystring, and fn new has been reverted to a regular "non-const" function. This works around performance issue #182, where the const fn version did not optimize well. Change by @​bluss with thanks to @​rodrimati1992 and @​niklasf for analyzing the problem.

  • The deprecated feature flag unstable-const-fn was removed, since it's not needed

  • Optimize .retain() by using the same algorithm as in std, change by @​niklasf, issue #174. Original optimization in Rust std by @​oxalica in rust-lang/rust/pull/81126

0.6.1

  • The ArrayVec::new and ArrayString::new constructors are properly const fns on stable and the feature flag unstable-const-fn is now deprecated. by @​rodrimati1992

  • Small fix to the capacity check macro by @​Xaeroxe

  • Typo fix in documentation by @​cuviper

  • Small code cleanup by @​bluss

0.6.0

  • The const generics release 🎉. Arrayvec finally implements what it wanted to implement, since its first version: a vector backed by an array, with generic parameters for the arbitrary element type and backing array capacity.

    The New type syntax is ArrayVec<T, CAP> where CAP is the arrayvec capacity.

... (truncated)

Commits
  • 67ec907 0.7.2
  • a4690c9 Merge pull request #194 from bhgomes/const-fns
  • 4c8149a Merge pull request #200 from niklasf/follow-vec-retain
  • bc21f19 Follow optimization of std::Vec::retain (rust-lang/rust#88060)
  • e209a50 Merge pull request #197 from c410-f3r/str
  • 1e74077 Doc/wording edit for zero_filled
  • e98cb1c Typo
  • f5acafa Add zero_filled constructor
  • 17c5dd0 upgrade len/capacity-related functions to const-fn
  • 481f930 add remaining_capacity to ArrayString
  • Additional commits viewable in compare view


Dependabot compatibility score

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)