constellation-rs / amadeus

Harmonious distributed data analysis in Rust.
https://constellation.rs/amadeus
Apache License 2.0
474 stars 26 forks source link

Update bytes requirement from 0.5 to 1.0 #120

Open dependabot-preview[bot] opened 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on bytes to permit the latest version.

Release notes

Sourced from bytes's releases.

bytes v1.0.0

Commit to a public API with long-term support.

Changed

  • Rename Buf/BufMut, methods to chunk/chunk_mut (#450)

Removed

  • remove unused Buf implementation. (#449)
Changelog

Sourced from bytes's changelog.

1.0.0 (December 22, 2020)

Changed

  • Rename Buf/BufMut, methods to chunk/chunk_mut (#450)

Removed

  • remove unused Buf implementation. (#449)

0.6.0 (October 21, 2020)

API polish in preparation for a 1.0 release.

Changed

  • BufMut is now an unsafe trait (#432).
  • BufMut::bytes_mut() returns &mut UninitSlice, a type owned by bytes to avoid undefined behavior (#433).
  • Buf::copy_to_bytes(len) replaces Buf::into_bytes() (#439).
  • Buf/BufMut utility methods are moved onto the trait and *Ext traits are removed (#431).

Removed

  • BufMut::bytes_vectored_mut() (#430).
  • new methods on combinator types (#434).

0.5.6 (July 13, 2020)

  • Improve BytesMut to reuse buffer when fully advanced.
  • Mark BytesMut::{as_mut, set_len} with #[inline].
  • Relax synchronization when cloning in shared vtable of Bytes.
  • Move loom to dev-dependencies.

0.5.5 (June 18, 2020)

Added

  • Allow using the serde feature in no_std environments (#385).

Fix

  • Fix BufMut::advance_mut to panic if advanced passed the capacity (#354)..
  • Fix BytesMut::freeze ignoring amount previously advanced (#352).

0.5.4 (January 23, 2020)

Added

  • Make Bytes::new a const fn.
  • Add From<BytesMut> for Bytes.

Fix

  • Fix reversed arguments in PartialOrd for Bytes.
  • Fix Bytes::truncate losing original capacity when repr is an unshared Vec.
  • Fix Bytes::from(Vec) when allocator gave Vec a pointer with LSB set.
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 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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)