codechain
codechain copied to clipboard
Bump smallvec from 0.4.5 to 1.4.1
Bumps smallvec from 0.4.5 to 1.4.1.
Release notes
Sourced from smallvec's releases.
v1.4.1
- Don't allocate when the size of the element type is zero. Allocating zero bytes is undefined behavior. (#228)
v1.4.0
- Add
try_reserve,try_reserve_exact, andtry_growmethods (#214).v1.3.0
- Add a new unstable
const_genericsfeature (#204).- Improve inlining of constructor functions (#206).
- Add a
slice.to_smallvec()convenience method (#203).- Documentation and testing improvements.
v1.2.0
IntoIternow implementsDebug(#196).smallvec!macro is now easier to use inno_stdcontexts where thevec!macro isn't automatically imported (#198).v1.1.0
- Added new method
SmallVec::into_boxed_slice(#190).- Added new methods
IntoIter::as_sliceandas_mut_slice(#182).IntoIternow implementsClone(#192).- Improved documentation and testing (#186, #189, #193).
- Minor code cleanups (#176).
v1.0.0
- Requires Rust 1.36 or later.
- [breaking change] Use
MaybeUninitto avoid possible undefined behavior (#162, #170).- [breaking change] The
drainmethod now takes a range argument, just like the standardVec::drain(#145).- [breaking change] Remove the
unreachablefunction and replace it with the new standardunreachable_uncheckedfunction (#164).- [breaking change] Use
no_stdby default. This crate depends only oncoreandallocby default. If the optionalwritefeature is enabled then it depends onstdso thatSmallVec<[u8;_]>can implement thestd::io::Writetrait (#173).- [breaking change] Remove the deprecated
VecLiketrait (#165).- Add support for 96-element small vectors,
SmallVec<[T; 96]>(#163).- Iterators now implement
FusedIterator(#172).- Indexing now uses the standard
SliceIndextrait (#166).- Add automatic fuzz testing and MIRI testing (#168, #162).
- Update syntax and formatting to Rust 2018 standard (#174, #167).
v0.6.14
v0.6.13
- Use the
maybe-unitcrate in place of soon-to-be-deprecatedstd::mem::uninitialized(#180). When built with Rust 1.36 or later, this fixes a source of undefined behavior. It also fixes deprecation warnings in Rust 1.39 and later, and test failures when run in MIRI. In Rust 1.35 and earlier it provides some safety improvements but does not completely eliminate undefined behavior. (However, we are not aware of any cases where the undefined behavior causes bugs in practice in those toolchains.)v0.6.12
- Move code using
default fninto its own module (#161).v0.6.11
- The unstable
allocfeature is no longer needed. This crate can now build with thestdfeature disabled on stable Rust 1.36 or later (#159).v0.6.10
... (truncated)
Commits
5513f47Auto merge of #228 - servo:zero, r=jdma376b02Don’t heap-allocate for zero-size items5f42f5fAuto merge of #227 - SamuelMarks:rustfmt, r=mbrubeckfbd1739[*.rs] rustfmt7bda9ecAuto merge of #225 - mbrubeck:docs, r=emiliocd1fe7aDocument the optional 'serde' featureebbd78aDisable unused serde features51f3545Auto merge of #223 - Luro02:docs, r=emilio51d8464Link to tracking issues for unstable features006b2e5Auto merge of #222 - mbrubeck:unused_mut, r=emilio- Additional commits viewable in compare view
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 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 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)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.