Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update arrayvec requirement from 0.5.0 to 0.7.1 #498

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 7, 2021

Updates the requirements on arrayvec to permit the latest version.

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 Optimize Vec::retain rust-lang/rust#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

... (truncated)

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 dependabot bot added the dependencies Pull requests that update a dependency file label Jun 7, 2021
@dependabot dependabot bot force-pushed the dependabot/cargo/arrayvec-0.7.1 branch 2 times, most recently from 24b95b3 to 38038db Compare June 8, 2021 11:08
@dependabot dependabot bot force-pushed the dependabot/cargo/arrayvec-0.7.1 branch 2 times, most recently from 8dd766a to 2a0c0af Compare July 21, 2021 05:40
@dependabot dependabot bot force-pushed the dependabot/cargo/arrayvec-0.7.1 branch from 2a0c0af to 29893a6 Compare July 29, 2021 11:04
@dependabot dependabot bot force-pushed the dependabot/cargo/arrayvec-0.7.1 branch from 29893a6 to adc8bd6 Compare August 14, 2021 20:30
@palango palango mentioned this pull request Oct 6, 2021
Updates the requirements on [arrayvec](https://github.com/bluss/arrayvec) to permit the latest version.
- [Release notes](https://github.com/bluss/arrayvec/releases)
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md)
- [Commits](bluss/arrayvec@0.5.0...0.7.1)

---
updated-dependencies:
- dependency-name: arrayvec
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/arrayvec-0.7.1 branch from adc8bd6 to e7c036d Compare October 6, 2021 09:39
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2021

Looks like arrayvec is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 6, 2021
@dependabot dependabot bot deleted the dependabot/cargo/arrayvec-0.7.1 branch October 6, 2021 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants