tink-rust
tink-rust copied to clipboard
build(deps): bump generic-array from 0.14.7 to 1.0.0
Bumps generic-array from 0.14.7 to 1.0.0.
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 inconst#129- Add
arr!repeat-expressions #130- Implement
const-defaulttrait support #131- Make
as_slice()/from_slice()const.- Add const
from_array/into_arraymethods.- Make
ArrayLength: 'static- Replace
From<&[T]>withTryFrom<&[T]>- Add
try_from_iterfor fallible construction from iterator.- Use
typenum'sconst-genericsfeature forconst N: usize-basedFromimplementations between[T; N]andGenericArray<T, N>
- Also added the
IntoArrayLengthtrait andConstArrayLengthtype-alias for working with typenum'sConst<N>easier.alloccrate feature
- Added
box_arr!macro with the same syntax asarr!, but returns aBox<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>>andVec<T>/Box<[T]>GenericSequenceandFunctionalSequenceimplemented forBox<GenericArray<T, N>>, allowing for heap-based manipulation of fixed-size arrays.Deserializeno longer requiresT: Default- Make
IntoArrayLength,MappedSequence, andFunctionalSequencesafe traits.- Simplify
arr!macro syntax.
arr![1, 2, 3, 4]orarr![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
internalsCargo feature to expose dangerous things.- Added additional methods for working with chunks of arrays.
- Added
Fromimpls 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-hexoptional dependency for SIMD-accelerated hex encoding- Improve documentation
0.14.6
0.14.5
- Fix unsoundness behavior in
GenericArrayIter::clone(#120)
0.14.4
- Update
typenumto1.12.0- Make
Dropa no-op when the inner type does not requireDrop(usingcore::mem::needs_drop)
0.14.3
- Improve behavior of
GenericArray::from_exact_iterto assumeExactIterators can lie.
... (truncated)
Commits
- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.