Commit Graph

580 Commits

Author SHA1 Message Date
Josh Stone 163b00a228 Release 1.8.0 instead 2022-01-06 16:03:43 -08:00
Josh Stone df01701ae5 Release 1.7.1 2022-01-06 16:03:43 -08:00
Josh Stone 003f5daec8 Move recent changes to RELEASES.rst 2022-01-06 11:10:12 -08:00
Josh Stone ee2a41ecca Merge pull request #211 from bhgomes/add-sort-unstable-methods
feat: add unstable sorting methods
2022-01-06 10:43:44 -08:00
Josh Stone 6653ae7904 Merge pull request #205 from rouge8/from-array
Add `IndexMap::from(array)` and `IndexSet::from(array)`
2022-01-06 10:41:10 -08:00
Josh Stone 46c8a4b09f No extra space is used in unstable sorts 2022-01-06 10:39:49 -08:00
Andy Freeland 98242c14d4 Require rustc 1.51+ for IndexMap::from(array) and IndexSet::from(array)
https://github.com/rust-lang/rust/issues/74878 and
https://github.com/rust-lang/rust/issues/65798 were both stabilized in
1.51.
2022-01-06 10:31:23 -08:00
Andy Freeland 35cb8f255b Add IndexMap::from(array) and IndexSet::from(array)
This patch adds `IndexMap::from(array)` and `IndexSet::from(array)` to
match the API for `HashMap`, `HashSet`, etc. as of
https://github.com/rust-lang/rust/pull/84111.
2022-01-06 10:31:23 -08:00
Josh Stone 6085dd6a83 Merge pull request #197 from cuviper/par_drain
impl ParallelDrainRange
2022-01-06 10:31:01 -08:00
Josh Stone 06e1d209cb Merge pull request #203 from mwillsey/master
Make with_hasher const
2022-01-06 10:27:26 -08:00
Josh Stone 6d477e21cb Merge pull request #212 from cuviper/rustc-rayon
Add minimal support for rustc-rayon
2022-01-06 10:07:31 -08:00
Brandon H. Gomes 9375fca923 fix: add forgotten set parallel unstable sorting methods 2021-12-09 17:03:09 -05:00
Josh Stone 1f0ba5905e Add minimal support for rustc-rayon 2021-12-09 11:36:50 -08:00
Brandon H. Gomes e96c0b3129 feat: add unstable sorting methods 2021-12-04 16:56:42 -05:00
bluss 916eb2ff3a Merge pull request #208 from JakobDegen/clarify-docs
Clarify docs for `.pop()`
2021-11-21 13:20:55 +01:00
Jakob Degen a8165b9849 Clarify docs for .pop() 2021-11-21 02:04:57 -05:00
Max Willsey 030d23f4d4 Remove mention of ahash in docs 2021-09-21 10:44:02 -07:00
Max Willsey 22489e132b Add note about const-ness of with_hasher 2021-09-16 15:10:05 -07:00
Max Willsey 6684111783 Make with_hasher const 2021-09-16 09:53:27 -07:00
Josh Stone 859802b6aa Merge pull request #196 from cuviper/iter
Iterator polish
2021-08-17 09:35:21 -07:00
Josh Stone b7108b8717 impl ParallelDrainRange 2021-07-30 16:53:20 -07:00
Josh Stone 715505b1f4 impl Debug for ParValuesMut 2021-07-30 16:25:23 -07:00
Josh Stone 35c3b6ff9b impl Debug for ParIterMut 2021-07-30 16:25:08 -07:00
Josh Stone 35a835760b impl Debug for Drain 2021-07-30 16:23:23 -07:00
Josh Stone 92767ef68f impl FusedIterator for all iterators 2021-07-30 16:08:29 -07:00
Josh Stone aee04824d6 impl ExactSizeIterator for Drain 2021-07-30 16:07:38 -07:00
Josh Stone 3ada5b96c2 Add rfold for iterators built on Chain 2021-07-30 15:48:43 -07:00
Josh Stone 5f42206123 Specialize nth_back just like nth 2021-07-30 15:48:39 -07:00
Josh Stone fe70692ef6 Use double_ended_iterator_methods! 2021-07-30 15:42:04 -07:00
Josh Stone cb27f069dd Merge pull request #195 from taiki-e/into-keys-values
Add IndexMap::into_{keys,values}
2021-07-30 15:31:29 -07:00
Taiki Endo be022c0277 Add IndexMap::into_{keys,values} 2021-07-31 03:09:00 +09:00
Josh Stone 6da6cecd05 Merge pull request #194 from striezel-stash/fix-typos
fix typos
2021-07-01 15:41:26 -07:00
Dirk Stolle 6f96b9e65b fix typos 2021-07-01 23:09:57 +02:00
Josh Stone 99ea7ee3ef Merge pull request #181 from cuviper/hashbrown-0.11
Update to hashbrown 0.11 (MSRV 1.49)
2021-06-29 11:15:48 -07:00
Josh Stone 6665d3e550 Update to hashbrown 0.11 (MSRV 1.49) 2021-06-02 18:07:46 -07:00
Josh Stone 93c9c5e303 Merge pull request #188 from bjorn3/simplify_has_std
Simplify logic around `#[cfg(has_std)]`
2021-05-11 10:53:32 -07:00
bjorn3 db8e086212 Simplify logic around #[cfg(has_std)] 2021-05-11 13:14:59 +02:00
bluss 744763c652 Merge pull request #187 from Kaduo/complexity-in-docs
Document average time complexity of ```get_index_of()``` method
2021-05-06 17:36:26 +02:00
Balthazar Potet de01d65f8b Document complexity of get_index_of 2021-05-06 16:39:07 +02:00
Josh Stone 0ccf0b6d81 Merge pull request #185 from taiki-e/typo
Fix typo in map.rs
2021-04-24 10:18:25 -07:00
Taiki Endo 1fce20da9b Fix typo in map.rs 2021-04-25 01:47:46 +09:00
Josh Stone d02625afa4 Merge pull request #180 from cuviper/clippy-lints
Use modern tool lints for clippy
2021-03-15 11:35:56 -07:00
Josh Stone 6878f503ff Merge pull request #179 from cuviper/copied
Prefer copied() iterators instead of cloned()
2021-03-15 11:32:41 -07:00
Josh Stone eb6abd1cf1 Use modern tool lints for clippy 2021-03-15 11:29:51 -07:00
Josh Stone 181b06a4cc Prefer copied() iterators instead of cloned()
`Copied` is available since Rust 1.36 and Rayon 1.2.
2021-03-15 11:20:27 -07:00
Josh Stone 8f74d61c58 Merge pull request #178 from cuviper/release-1.6.2
Release 1.6.2
2021-03-05 13:31:59 -08:00
Josh Stone d96d2f4517 Release 1.6.2 2021-03-04 17:30:59 -08:00
Josh Stone 222612010c cargo fmt 2021-03-04 17:30:41 -08:00
Josh Stone 50934e34db Continue #167 with more "postion" typos 2021-03-04 17:16:24 -08:00
Josh Stone a498ad577c Merge pull request #175 from cuviper/or_insert_with_key
add Entry::or_insert_with_key like Rust 1.50
2021-03-01 13:02:09 -08:00