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

chore(deps): bump the rust-dependencies group with 3 updates #257

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Updates the requirements on generic-array, criterion and sha2 to permit the latest version.
Updates generic-array to 1.0.0

Release notes

Sourced from generic-array's releases.

1.0.0

Changelog

Primary PR

Changelog

Sourced from generic-array's changelog.

  • 1.0.0

    • Use GATs for ArrayLength !
    • Bump MSRV to 1.65.0
    • Use Rust 2021 edition #118 + non-PR upgrade later with GATs.
    • Allow arr! macro in const #129
    • Add arr! repeat-expressions #130
    • Implement const-default trait support #131
    • Make as_slice()/from_slice() const.
    • Add const from_array/into_array methods.
    • Make ArrayLength: 'static
    • Replace From<&[T]> with TryFrom<&[T]>
    • Add try_from_iter for fallible construction from iterator.
    • Use typenum's const-generics feature for const N: usize-based From implementations between [T; N] and GenericArray<T, N>
      • Also added the IntoArrayLength trait and ConstArrayLength type-alias for working with typenum's Const<N> easier.
    • alloc crate feature
      • Added box_arr! macro with the same syntax as arr!, but returns a Box<GenericArray<T, N>>
      • Moving between heap and stack
        • impl TryFrom<Vec<T>> for GenericArray<T, N>
        • impl TryFrom<Box<[T]>> for GenericArray<T, N>
        • impl From<GenericArray<T, N>> for Vec<T>
        • impl From<GenericArray<T, N>> for Box<[T]>
      • Methods for converting between Box<GenericArray<T, N>> and Vec<T>/Box<[T]>
      • GenericSequence and FunctionalSequence implemented for Box<GenericArray<T, N>>, allowing for heap-based manipulation of fixed-size arrays.
    • Deserialize no longer requires T: Default
    • Make IntoArrayLength, MappedSequence, and FunctionalSequence safe traits.
    • Simplify arr! macro syntax.
      • arr![1, 2, 3, 4] or arr![T; N] forms, no explicit length for first variant.
      • No longer casts given expressions internally.
      • Type-deduction works similarly to vec![], in that an empty array has an unknown type
    • Add the internals Cargo feature to expose dangerous things.
    • Added additional methods for working with chunks of arrays.
    • Added From impls for tuples with 1-12 (inclusive) items of the same type, matching the standard library.
    • Workaround potential Rust/LLVM regressions with FunctionalSequence::zip()/::map()
    • Added the faster-hex optional dependency for SIMD-accelerated hex encoding
    • Improve documentation
  • 0.14.6

    • Add an optional Zeroize impl for GenericArray (#126 and #112)
    • Cleanup some unsafe (#125) and typos (#114)
    • Use include in Cargo.toml to reduce package size
  • 0.14.5

    • Fix unsoundness behavior in GenericArrayIter::clone (#120)
  • 0.14.4

    • Update typenum to 1.12.0
    • Make Drop a no-op when the inner type does not require Drop (using core::mem::needs_drop)
  • 0.14.3

    • Improve behavior of GenericArray::from_exact_iter to assume ExactIterators can lie.

... (truncated)

Commits

Updates criterion to 0.5.1

Changelog

Sourced from criterion's changelog.

[0.5.1] - 2023-05-26

Fixed

  • Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active

[0.5.0] - 2023-05-23

Changed

  • Replaced lazy_static dependency with once_cell
  • Improved documentation of the html_reports feature
  • Replaced atty dependency with is-terminal
  • MSRV bumped to 1.64
  • Upgraded clap dependency to v4
  • Upgraded tempfile dependency to v3.5.0

Fixed

  • Quick mode (--quick) no longer outputs 1ms for measured times over 5 seconds
  • Documentation updates

[0.4.0] - 2022-09-10

Removed

  • The Criterion::can_plot function has been removed.
  • The Criterion::bench_function_over_inputs function has been removed.
  • The Criterion::bench_functions function has been removed.
  • The Criterion::bench function has been removed.

Changed

  • HTML report hidden behind non-default feature flag: 'html_reports'
  • Standalone support (ie without cargo-criterion) feature flag: 'cargo_bench_support'
  • MSRV bumped to 1.57
  • rayon and plotters are optional (and default) dependencies.
  • Status messages ('warming up', 'analyzing', etc) are printed to stderr, benchmark results are printed to stdout.
  • Accept subsecond durations for --warm-up-time, --measurement-time and --profile-time.
  • Replaced serde_cbor with ciborium because the former is no longer maintained.
  • Upgrade clap to v3 and regex to v1.5.

Added

  • A --discard-baseline flag for discarding rather than saving benchmark results.
  • Formal support for benchmarking code compiled to web-assembly.
  • A --quiet flag for printing just a single line per benchmark.
  • A Throughput::BytesDecimal option for measuring throughput in bytes but printing them using decimal units like kilobytes instead of binary units like kibibytes.

Fixed

  • When using bench_with_input, the input parameter will now be passed through black_box before passing it to the benchmark.

... (truncated)

Commits

Updates sha2 to 0.10.8

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [generic-array](https://github.com/fizyk20/generic-array), [criterion](https://github.com/bheisler/criterion.rs) and [sha2](https://github.com/RustCrypto/hashes) to permit the latest version.

Updates `generic-array` to 1.0.0
- [Release notes](https://github.com/fizyk20/generic-array/releases)
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fizyk20/generic-array/commits/1.0.0)

Updates `criterion` to 0.5.1
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.4.0...0.5.1)

Updates `sha2` to 0.10.8
- [Commits](RustCrypto/hashes@groestl-v0.9.0...sha2-v0.10.8)

---
updated-dependencies:
- dependency-name: generic-array
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: criterion
  dependency-type: direct:production
  dependency-group: rust-dependencies
- dependency-name: sha2
  dependency-type: direct:production
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 25, 2023
@huitseeker
Copy link
Member

This will need #254 first.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 3, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Jan 3, 2024
@dependabot dependabot bot deleted the dependabot-cargo-rust-dependencies-92b6043ea2 branch January 3, 2024 15:31
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant