foundry
foundry copied to clipboard
Bump smallvec from 0.4.5 to 1.4.2
Bumps smallvec from 0.4.5 to 1.4.2.
Release notes
Sourced from smallvec's releases.
v1.4.2
insert_manyno longer leaks elements if the provided iterator panics (#213).- The unstable
const_genericsandspecializationfeatures are updated to work with the most recent nightly Rust toolchain (#232).- Internal code cleanup (#229, #231).
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).
... (truncated)
Commits
9ae7076Auto merge of #233 - mbrubeck:bump, r=jdmba0f462Version 1.4.287500c3Auto merge of #232 - c410-f3r:patch-1, r=mbrubeck0e23d2aUse min_const_genericsf7e01efAuto merge of #230 - Atul9:add-cargo-fmt-to-travis-config, r=mbrubeckf7c7157Auto merge of #231 - Atul9:cargo-fmt, r=mbrubeck7f7ac30Format code using 'cargo fmt'b3fada1Add cargo fmt to travis build configcce91caAuto merge of #213 - mbrubeck:leak, r=jdm8ddf613Fix leak on panic ininsert_many.- 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.