-
Notifications
You must be signed in to change notification settings - Fork 145
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
Version 1.0.0 #175
Merged
Merged
Version 1.0.0 #175
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* [breaking change] Use `MaybeUninit` internally to avoid possible undefined behavior (servo#162, servo#170). * [breaking change] The `drain` method now takes a range argument, just like the standard `Vec::drain` (servo#145). * [breaking change] Remove the `unreachable` function and replace it with the new standard `unreachable_unchecked` function (servo#164). * [breaking change] Use `no_std` by default. This crate depends only on `core` and `alloc` by default. If the optional `write` feature is enabled then it depends on `std` so that `SmallVec<[u8, _]>` can implement the `std::io::Write` trait (servo#173). * Add support for 96-element small vectors, `SmallVec<[T; 96]>` (servo#163). * Iterators now implement `FusedIterator` (servo#172). * Indexing now uses the standard `SliceIndex` trait (servo#166). * Remove the deprecated `VecLike` trait (servo#165). * Use `NonNull` internally (servo#171). * Add automatic fuzz testing and MIRI testing (servo#168, servo#162). * Update syntax and formatting to Rust 2018 standard (servo#174, servo#167).
12 tasks
@emilio Any feedback on this? |
I'm ok with this. Not sure if we should wait more to get to 1.0, I don't have strong opinions on that :) |
I found @mbrubeck's reasoning in #73 (comment) compelling. |
@bors-servo r+ |
📌 Commit 523a6dc has been approved by |
bors-servo
pushed a commit
that referenced
this pull request
Nov 2, 2019
Version 1.0.0 * Requires Rust 1.36 or later. * [breaking change] Use `MaybeUninit` to avoid possible undefined behavior (#162, #170). * [breaking change] The `drain` method now takes a range argument, just like the standard `Vec::drain` (#145). * [breaking change] Remove the `unreachable` function and replace it with the new standard `unreachable_unchecked` function (#164). * [breaking change] Use `no_std` by default. This crate depends only on `core` and `alloc` by default. If the optional `write` feature is enabled then it depends on `std` so that `SmallVec<[u8;_]>` can implement the `std::io::Write` trait (#173). * Add support for 96-element small vectors, `SmallVec<[T; 96]>` (#163). * Iterators now implement `FusedIterator` (#172). * Indexing now uses the standard `SliceIndex` trait (#166). * Remove the deprecated `VecLike` trait (#165). * Use `NonNull` internally (#171). * Add automatic fuzz testing and MIRI testing (#168, #162). * Update syntax and formatting to Rust 2018 standard (#174, #167).
☀️ Test successful - checks-travis |
bors bot
added a commit
to Amanieu/parking_lot
that referenced
this pull request
Nov 4, 2019
188: Bump smallvec version to 1.0 r=Amanieu a=messense See servo/rust-smallvec#175 for changelog Co-authored-by: messense <messense@icloud.com>
Centril
added a commit
to Centril/rust
that referenced
this pull request
Nov 6, 2019
bump smallvec to 1.0 This includes servo/rust-smallvec#162, fixing an unsoundness in smallvec. See servo/rust-smallvec#175 for the 1.0 release announcement. Cc @mbrubeck @emilio
This was referenced Nov 9, 2019
aardappel
pushed a commit
to google/flatbuffers
that referenced
this pull request
Nov 11, 2019
See servo/rust-smallvec#175 for changelog.
LuckyRu
pushed a commit
to LuckyRu/flatbuffers
that referenced
this pull request
Oct 2, 2020
See servo/rust-smallvec#175 for changelog.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MaybeUninit
to avoid possible undefined behavior (Use MaybeUninit for storage of inline items #162, Add a test for #139. #170).drain
method now takes a range argument, just like the standardVec::drain
(update drain #145).unreachable
function and replace it with the new standardunreachable_unchecked
function (Deprecate unreachable function #164).no_std
by default. This crate depends only oncore
andalloc
by default. If the optionalwrite
feature is enabled then it depends onstd
so thatSmallVec<[u8;_]>
can implement thestd::io::Write
trait (Use no_std by default #173).SmallVec<[T; 96]>
(lib.rs: + 96-item inline support #163).FusedIterator
(ImplementFusedIterator
forIntoIter
#172).SliceIndex
trait (Use SliceIndex trait for SmallVec's Index trait #166).VecLike
trait (Remove VecLike #165).NonNull
internally (Use NonNull instead of a raw pointer #171).