Skip to content
This repository was archived by the owner on Mar 2, 2021. It is now read-only.

Bump bumpalo from 2.6.0 to 3.5.0#188

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/bumpalo-3.5.0
Closed

Bump bumpalo from 2.6.0 to 3.5.0#188
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/bumpalo-3.5.0

Conversation

@dependabot-preview
Copy link
Contributor

Bumps bumpalo from 2.6.0 to 3.5.0.

Changelog

Sourced from bumpalo's changelog.

3.5.0

Released 2020-01-22.

Added

  • Added experimental, unstable support for the unstable, nightly Rust allocator_api feature.

    The allocator_api feature defines an Allocator trait and exposes custom allocators for std types. Bumpalo has a matching allocator_api cargo feature to enable implementing Allocator and using Bump with std collections.

    First, enable the allocator_api feature in your Cargo.toml:

    [dependencies]
    bumpalo = { version = "3.4.0", features = ["allocator_api"] }

    Next, enable the allocator_api nightly Rust feature in your src/lib.rs or src/main.rs:

    # #[cfg(feature = "allocator_api")]
    # {
    #![feature(allocator_api)]
    # }

    Finally, use std collections with Bump, so that their internal heap allocations are made within the given bump arena:

    # #![cfg_attr(feature = "allocator_api", feature(allocator_api))]
    # #[cfg(feature = "allocator_api")]
    # {
    #![feature(allocator_api)]
    use bumpalo::Bump;
    

    // Create a new bump arena. let bump = Bump::new();

    // Create a Vec whose elements are allocated within the bump arena. let mut v = Vec::new_in(&bump); v.push(0); v.push(1); v.push(2);

    }

... (truncated)

Commits
  • b1b432d Bump to version 3.5.0
  • ecca6b9 Quiet some warnings about LayoutErr
  • 0201983 Update allocator_api docs a little
  • 5257fc3 Merge pull request #92 from baloo/baloo/allocator_api
  • 79c9d7a readme: only enable allocator_api on nightly
  • b7737fa ci: fixup valgrind installation
  • 73f6484 Implement allocator_api grow and shrink methods
  • b7ce727 allocator_api: use a common deallocator implementation
  • c2747ec Document allocator_api usage
  • fa0aab2 readme: document allocator_api support
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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:

  • 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)

Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 2.6.0 to 3.5.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/master/CHANGELOG.md)
- [Commits](fitzgen/bumpalo@2.6.0...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 25, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #193.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/bumpalo-3.5.0 branch February 1, 2021 05:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants