Gekkio / mooneye-gb

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

Bump arrayvec from 0.5.2 to 0.7.1 #148

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps arrayvec from 0.5.2 to 0.7.1.

Changelog

Sourced from arrayvec's changelog.

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. For arraystring the syntax is ArrayString<CAP>.

    Length is stored internally as u32; this limits the maximum capacity. The size of the ArrayVec or ArrayString structs for the same capacity may grow slightly compared with the previous version (depending on padding requirements for the element type). Change by @​bluss.

  • Arrayvec's .extend() and FromIterator/.collect() to arrayvec now panic if the capacity of the arrayvec is exceeded. Change by @​bluss.

  • Arraystring now implements TryFrom<&str> and TryFrom<fmt::Arguments> by @​c410-f3r

  • Minimum supported rust version is Rust 1.51

Commits


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)
dependabot[bot] commented 3 years ago

Superseded by #162.