Commit Graph

  • 56a4a8a6c3 Document all entry methods Josh Stone 2021-01-19 17:37:54 -08:00
  • bab8e0e5f3 Change OccupiedEntry::key() to return the existing key in the map Josh Stone 2021-01-19 17:29:59 -08:00
  • 183b468063 Merge pull request #167 from avl/patch-1 Josh Stone 2020-12-20 09:02:32 -08:00
  • 97e6b1c02b Fixspelling mistakes in documentation of IndexMap Anders Musikka 2020-12-20 17:39:20 +01:00
  • 8fb7a1778a Merge pull request #165 from cuviper/release-1.6.1 Josh Stone 2020-12-14 17:04:24 -08:00
  • 16a021f50f Release 1.6.1 Josh Stone 2020-12-14 16:53:18 -08:00
  • 9594749f1f Merge pull request #158 from cuviper/serde_seq Josh Stone 2020-12-14 16:31:45 -08:00
  • f301065664 Add serde_seq to serialize maps as a sequence Josh Stone 2020-09-18 09:01:28 -07:00
  • da4b4d8992 Use collect_map/seq to simplify serializers Josh Stone 2020-09-17 19:07:04 -07:00
  • b5b71e251c Merge pull request #160 from cuviper/more-vec Josh Stone 2020-12-14 16:13:34 -08:00
  • 2741ff07c8 Document the first/last methods Josh Stone 2020-12-01 17:53:54 -08:00
  • 22ab08b1cd Return &K in first_mut/last_mut Josh Stone 2020-12-01 17:53:51 -08:00
  • 341366f258 Add more Vec/slice-like methods to maps and sets Josh Stone 2020-09-30 12:01:45 -07:00
  • 5ab47c3374 Merge pull request #164 from bluss/gh-actions bluss 2020-12-02 09:53:11 +01:00
  • 010aac84fe DOC: Update CI badge in readme bluss 2020-12-02 09:48:14 +01:00
  • 30d27f9d34 MAINT: Split nostd build from other builds in CI configuration bluss 2020-12-02 01:19:22 +01:00
  • 818acee100 MAINT: Migrate CI from travis to github actions bluss 2020-12-02 00:19:01 +01:00
  • 0cc509e123 MAINT: Drop twox-hash from test-nostd to fix the builder for Rust 1.36 bluss 2020-12-02 00:47:54 +01:00
  • 7c7ae2ee0c Merge pull request #162 from taiki-e/docs Josh Stone 2020-12-01 12:15:43 -08:00
  • af933ddcdf Fix outdated docs Taiki Endo 2020-12-01 11:44:28 +09:00
  • 2b3b63b600 Merge pull request #159 from cuviper/safer-raw-table Josh Stone 2020-09-30 11:58:58 -07:00
  • 8623baaf57 Reduce unsafe code with hashbrown 0.9.1 Josh Stone 2020-09-28 15:55:21 -07:00
  • 10f17749fe Merge pull request #157 from cuviper/serde Josh Stone 2020-09-17 16:58:11 -07:00
  • 4ed9b8717c Let feature "serde" work as well as "serde-1" Josh Stone 2020-09-16 12:46:39 -07:00
  • 2ed5a919f9 Merge pull request #152 from mbrubeck/deps Josh Stone 2020-09-05 14:29:25 -07:00
  • bafe186d85 Version 1.6.0 Matt Brubeck 2020-09-05 09:54:30 -07:00
  • 5a6237c32b Update to hashbrown 0.9 Matt Brubeck 2020-09-03 15:13:59 -07:00
  • 0a5dc52b3b Merge pull request #145 from cuviper/explicit-std Josh Stone 2020-09-01 13:03:51 -07:00
  • 2f1f0e29df Release 1.5.2 Josh Stone 2020-09-01 12:42:55 -07:00
  • 5f98b77a74 Add a feature to explicitly enable "std" Josh Stone 2020-08-06 12:40:58 -07:00
  • 754e738d81 Set 2018 edition in .rustfmt.toml Josh Stone 2020-08-10 10:52:34 -07:00
  • cec1aeb392 Merge pull request #149 from cuviper/test-chaining Josh Stone 2020-08-09 09:56:50 -07:00
  • 0831e99fc2 ci: make sure test commands are &&-chained Josh Stone 2020-08-09 09:45:03 -07:00
  • 05b38c10d1 Merge pull request #146 from cuviper/release-1.5.1 Josh Stone 2020-08-07 17:00:52 -07:00
  • c183726bab Release 1.5.1 Josh Stone 2020-08-07 15:20:52 -07:00
  • beaa1dede1 Merge pull request #132 from cuviper/direct-index Josh Stone 2020-08-07 15:11:00 -07:00
  • a7c8883040 Add documentation and examples for Index and IndexMut Josh Stone 2020-08-06 12:15:44 -07:00
  • b830148a9d Implement direct usize indexing Josh Stone 2020-07-22 17:07:08 -07:00
  • aa3511aaca Merge pull request #142 from cuviper/drain-ranges Josh Stone 2020-08-07 14:39:11 -07:00
  • fa45354b72 Merge pull request #143 from cuviper/relax Josh Stone 2020-07-24 15:21:03 -07:00
  • f935d6ff72 Relax IntoParallelIterator for &'a mut IndexMap Josh Stone 2020-07-24 14:39:23 -07:00
  • 816ebebf37 Expand drain to accept any RangeBounds<usize> Josh Stone 2020-07-24 12:53:26 -07:00
  • 52b54dc6bc Merge pull request #139 from cuviper/hashbrown-readme Josh Stone 2020-07-24 11:14:00 -07:00
  • 5683f68073 Merge pull request #141 from cuviper/relax Josh Stone 2020-07-24 11:13:39 -07:00
  • 7ad118fd62 Relax some bounds to match std Josh Stone 2020-07-23 16:42:23 -07:00
  • 59320ee402 Merge pull request #140 from cuviper/'_ Josh Stone 2020-07-23 14:25:09 -07:00
  • 532eec1dfc style: use more anonymous lifetimes Josh Stone 2020-07-23 14:17:49 -07:00
  • 68fc65773c Update the README for the hashbrown-based implementation Josh Stone 2020-07-23 13:29:32 -07:00
  • d6759cc0b5 Merge pull request #138 from cuviper/2018 Josh Stone 2020-07-20 17:25:08 -07:00
  • 71128ab32b Stop using local_inner_macros Josh Stone 2020-07-20 13:19:18 -07:00
  • 4433ac97ca cargo fix --edition-idioms Josh Stone 2020-07-20 13:14:08 -07:00
  • b95c8949e7 edition = "2018" Josh Stone 2020-07-20 13:03:05 -07:00
  • 1fd40f58a5 cargo fix --edition Josh Stone 2020-07-20 12:59:24 -07:00
  • 8d8f074341 Always use #![nostd] and make std:: explicit Josh Stone 2020-07-20 12:57:50 -07:00
  • ddc45d42b2 Merge pull request #131 from cuviper/shredded-potatoes Josh Stone 2020-07-17 17:12:03 -07:00
  • bf63d2c517 Use new methods in hashbrown 0.8.1 Josh Stone 2020-07-16 14:56:52 -07:00
  • c036e1bb97 Release 1.5.0 Josh Stone 2020-07-16 14:38:26 -07:00
  • af4e5e47ed Use plain clear instead of clear_no_drop Josh Stone 2020-07-02 12:11:55 -07:00
  • 00fba2104d Encapsulate unsafe code in a raw module Josh Stone 2020-06-29 13:13:31 -07:00
  • 9bc1c9e971 Make methods that get RawBucket parameters unsafe; add safety comments bluss 2020-06-28 10:55:08 +02:00
  • e526715c67 Don't enable hashbrown/inline-more Josh Stone 2020-06-25 13:27:55 -07:00
  • 871f30d15d Don't shadow raw_bucket variables Josh Stone 2020-06-25 12:06:03 -07:00
  • 43aff095cf Document the return value of IndexMapCore::push Josh Stone 2020-06-25 11:57:42 -07:00
  • 8f34c0c2cc Upgrade to hashbrown 0.8 Josh Stone 2020-06-18 10:08:57 -07:00
  • dd5bf1c847 Only rebuild if retain actually changed something Josh Stone 2020-06-11 10:42:07 -07:00
  • f315c7724d Move cmp into the sorting closures Josh Stone 2020-06-10 12:42:56 -07:00
  • 3b66d46460 Add a top-level comment about allowed unsafe Josh Stone 2020-06-10 11:54:31 -07:00
  • be4853c948 Raise the MSRV to 1.32 for hashbrown Josh Stone 2020-06-09 13:14:55 -07:00
  • 5e11c442f6 Switch to hashbrown's RawTable internally Josh Stone 2020-06-04 15:58:36 -07:00
  • cb2d1f4044 Merge pull request #136 from cuviper/std-parity Josh Stone 2020-07-16 14:15:32 -07:00
  • 1e5da1be98 Add more methods matching the standard HashMap Josh Stone 2020-07-08 16:00:13 -07:00
  • 1480c8ad06 Merge pull request #134 from cuviper/hashers Josh Stone 2020-07-02 13:45:45 -07:00
  • 84bdaa8b80 Demonstrate fnv and fxhash as alternate hashers Josh Stone 2020-06-25 11:09:33 -07:00
  • 5638196469 Merge pull request #130 from cuviper/bench-rng Josh Stone 2020-06-09 16:00:11 -07:00
  • 8feebfe7b8 Use a consistently seeded Rng for benchmark stability Josh Stone 2020-06-09 15:36:39 -07:00
  • c66470be15 Merge pull request #125 from cuviper/refactor-core Josh Stone 2020-06-09 12:53:19 -07:00
  • 60fdba9912 Remove unused braces Josh Stone 2020-06-02 16:18:13 -07:00
  • d72991a29e Avoid index fixups in sorted_by Josh Stone 2020-06-02 16:05:46 -07:00
  • ae47ee43df Simplify calls to find_existing_entry Josh Stone 2020-06-02 16:02:11 -07:00
  • cf477e3f1a Implement clone_from to reuse allocations Josh Stone 2020-06-02 15:36:19 -07:00
  • 4cb690cda3 derive(Clone, PartialEq) for HashValue Josh Stone 2020-06-02 15:24:00 -07:00
  • aad733f8e3 cargo fmt Josh Stone 2020-06-02 15:08:19 -07:00
  • 0ab1ab0711 Make IndexMapCore fields private Josh Stone 2020-06-02 15:06:37 -07:00
  • 9f9960e568 Move entry fully into the core Josh Stone 2020-06-02 14:34:17 -07:00
  • 0f209e1edb Move retain fully into the core Josh Stone 2020-06-02 14:27:41 -07:00
  • 1bddfb91e6 Move insert fully into the core Josh Stone 2020-06-02 14:24:49 -07:00
  • 04ef50a167 Split IndexMapCore to its own module Josh Stone 2020-06-02 14:14:15 -07:00
  • 9292b3e31c Rename vestigial OrderMap references to IndexMap Josh Stone 2020-06-02 13:24:47 -07:00
  • 08377e4676 Merge pull request #126 from mwillsey/master Josh Stone 2020-06-09 12:26:13 -07:00
  • ae7a599112 nit: add newlines between MakeEntry methods Josh Stone 2020-06-09 12:07:04 -07:00
  • 5eac6910be Merge pull request #129 from cuviper/serde-no_std Josh Stone 2020-06-09 10:13:15 -07:00
  • 3722a875bf Merge pull request #128 from linclelinkpart5/master Josh Stone 2020-06-09 10:12:56 -07:00
  • b2eb7c64c1 Fix off-by-one error in reindexing after reverse Mark LeMoine 2020-06-08 15:28:39 -07:00
  • 817559cb5e Make reverse actually use O(1) space Mark LeMoine 2020-06-08 15:16:49 -07:00
  • b0e7ba35e2 Build serde without default features Josh Stone 2020-06-08 15:06:10 -07:00
  • bd0896fa06 Add test for .reverse() Mark LeMoine 2020-06-08 12:59:15 -07:00
  • 578a853f8f Add reverse to OrderMapCore, IndexMap, IndexSet Mark LeMoine 2020-06-08 02:12:57 -07:00
  • 9248332563 Fix typo Max Willsey 2020-06-06 11:00:10 -07:00
  • 7e49f6e737 Neaten up some things Max Willsey 2020-06-05 12:15:05 -07:00
  • 55bfc34819 Unify the entry and insert code Max Willsey 2020-06-05 10:21:51 -07:00