EspressoSystems / hotshot-query-service

Generic query service for HotShot applications
https://espressosystems.github.io/hotshot-query-service/
GNU General Public License v3.0
5 stars 1 forks source link

Bump generic-array from 0.14.7 to 1.1.0 #662

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

Bumps generic-array from 0.14.7 to 1.1.0.

Release notes

Sourced from generic-array's releases.

1.0.0

Changelog

Primary PR

Changelog

Sourced from generic-array's changelog.

  • 1.1.0

    • Add Remove trait that adds remove/swap_remove to GenericArray (inspired by #147)
    • Soft-deprecate internals::ArrayBuilder in favor of internals::IntrusiveArrayBuilder
  • 1.0.1

    • Update faster-hex dependency
    • Mark from_iter as #[inline] to significantly improve codegen.
  • 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

... (truncated)

Commits


Dependabot compatibility score

You can trigger a rebase of this PR 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.