mirror of
https://github.com/openharmony/third_party_rust_rust-smallvec.git
synced 2026-07-22 10:35:33 -04:00
Version 0.6.0
Includes these changes: * Breaking change: Remove deprecated `SmallVecN` type aliases and `push_all_move` method. * Breaking change: Make `retain` pass `&mut T` to its predicate. * Add new methods `dedup`, `dedup_by`, and `dedup_by_key`. * Deprecate the `VecLike` trait in favor of standard library traits. * Optimize the `Clone` and `Deserialize` implementations to avoid unnecessary reallocation. * Optimize `extend_from_slice` and `insert_from_slice` to use `copy_nonoverlapping`. * Include the text of the Mozilla Public License in the source repo. * Improved documentation.
This commit is contained in:
+2
-1
@@ -1,11 +1,12 @@
|
||||
[package]
|
||||
name = "smallvec"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
|
||||
license = "MPL-2.0"
|
||||
repository = "https://github.com/servo/rust-smallvec"
|
||||
description = "'Small vector' optimization: store up to a small number of items on the stack"
|
||||
keywords = ["small", "vec", "vector", "stack", "no_std"]
|
||||
categories = ["data-structures"]
|
||||
readme = "README.md"
|
||||
documentation = "http://doc.servo.org/smallvec/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user