Commit Graph

452 Commits

Author SHA1 Message Date
Joel Wejdenstål 626b98dab3
v5.5.3 2023-08-29 23:13:21 +02:00
Joel 1e7efe5843
bump msrv to 1.65 (#279) 2023-08-29 23:12:11 +02:00
Joel Wejdenstål eff796d46b
v5.5.2 2023-08-29 13:17:51 +02:00
Joel Wejdenstål febc45dc62
Revert "Only hash keys once, taking advantage of hashbrown raw entry api (#259)"
This reverts commit 3448b6f070.
2023-08-29 13:17:03 +02:00
Joel Wejdenstål dfb7b9af33
v5.5.1 2023-08-22 02:06:11 +02:00
Joel Wejdenstål 3b26d70d2f
commit lockfile 2023-08-22 02:05:50 +02:00
Joel Wejdenstål 71a1dc6cd8
rename toolchain file 2023-08-22 02:01:56 +02:00
Joel Wejdenstål 8364d3e48e
fix lint 2023-08-22 02:00:33 +02:00
Arthur Silva 3448b6f070
Only hash keys once, taking advantage of hashbrown raw entry api (#259) 2023-08-22 01:57:35 +02:00
Joel Wejdenstål ea4ea24a63
v5.5.0 2023-07-11 06:11:45 +02:00
Joel 018f0a1671
assert that the shard count is not 1 (#273)
* assert that the shard count is not 1

* lint
2023-07-11 05:39:27 +02:00
Joel Wejdenstål 6616a8d28c
fmt 2023-07-11 05:30:00 +02:00
Tobias Kahlert 3b418466ed
Entry insert (#226)
* added Entry::insert_entry

* added Entry::insert
2023-07-11 05:29:24 +02:00
Amin Yahyaabadi 079faeb02b
feat: implement Display and AsRef for MappedRef (#261) 2023-07-11 05:24:05 +02:00
Jan dcc97f8ddb
Implement `Serialize` for reference types (#264) 2023-07-11 05:21:26 +02:00
Joel 4c7568cce6
add support for arbitrary (#272) 2023-07-11 05:20:05 +02:00
Joel d36311e634
update deps & toolchain to stable-1.64 (#271) 2023-07-11 04:56:54 +02:00
Joel 7f9522c528
fmt (#251) 2023-01-20 08:08:52 +01:00
Arash Sahebolamri 8a0149d31b
Add `shards_mut()` and `into_shards()` to `DashMap` and `shards()` to `ReadOnlyView` (#237) 2023-01-20 08:04:58 +01:00
George 83a2cf46e0
Added optional feature to enable inline in `hashbrown` crate. (#249) 2023-01-20 08:02:09 +01:00
Fointard 0b2a2269b2
fix: typo in lib.rs (#229) 2022-10-09 13:57:57 +02:00
Joel Wejdenstål 4fd07038a1
v5.4.0 2022-08-30 20:12:48 +02:00
Joel Wejdenstål f27dba3062
fmt 2022-08-30 20:09:31 +02:00
Joel Wejdenstål 342011296c
upgrade deps 2022-08-30 20:09:09 +02:00
Tom Karwowski d1f58eaf48
feat: add ReadOnlyView::par_iter() and ReadOnlyView::into_par_iter() (#223) 2022-08-30 20:08:29 +02:00
Tom Karwowski 9deeb37ccb
feat: memoize default shard amount (#222)
Use once_cell crate to memoize the value.
This doesn't add any new dependencies, as once_cell was already a subdependency. Additionally it was merged into std in nighlty and awaiting stabilization.
2022-08-30 20:05:07 +02:00
Tom Karwowski 030671060f
feat: add try_reserve method (#221) 2022-08-30 20:04:31 +02:00
Wolf Thomsen 459db7ac6f
Fix small typo in lib.rs module docstring (#209) 2022-06-06 14:09:52 +02:00
Joel dd7164dfef
Delete table.rs 2022-06-06 14:07:11 +02:00
Joel Wejdenstål 4b63e98814
Release v5.3.4 2022-05-28 13:20:30 +02:00
Joel 3236196d01
Use a proper lock implementation (#214)
* use a proper but reentrant safe lock impl

* impl downgrade
2022-05-28 13:19:37 +02:00
Konrad Borowski 5fbb68f188
Set rust-version to 1.59 (#210)
This crate uses available_parallelism which was introduced
in Rust 1.59.
2022-05-28 12:58:00 +02:00
Joel Wejdenstål 270612e3f9
Release v5.3.3 2022-05-02 17:55:25 +02:00
Joel Wejdenstål c162b21b6c
Revert "Hash keys once (#194)"
This reverts commit 3d315aa7a7.
2022-05-02 17:55:05 +02:00
Joel Wejdenstål 9c7cdc3370
Release v5.3.2 2022-04-30 23:23:31 +02:00
Vilgot Fredenberg f8ea0307a5
Tune hashbrown feature set (#205)
Removes the transient dependency on `ahash`.
2022-04-30 23:22:48 +02:00
Joel Wejdenstål 3bb58c0f37
Release v5.3.1 2022-04-29 22:04:35 +02:00
Joel 8f32487a12
improve locking (#204) 2022-04-29 22:04:14 +02:00
Joel Wejdenstål dbec6c179a
Release v5.3.0 2022-04-29 21:19:06 +02:00
Joel 7a8beaa4dc
Mapped Ref and RefMut (#203)
Co-authored-by: Artem Shein <artem.shein@esrlabs.com>
2022-04-29 21:18:34 +02:00
Joel fcaa55511a
Address major issues (#202) 2022-04-29 21:02:35 +02:00
Joel Wejdenstål 82c2323bc6
Fix lint 2022-04-29 19:12:47 +02:00
Josh Triplett 94b49a2d60
Use `std:🧵:available_parallelism` in place of num_cpus (#199) 2022-04-29 19:11:02 +02:00
Josh Triplett 288e213c78
Fix a couple of clippy "needless_borrow" issues (#200) 2022-04-27 21:04:14 +02:00
Stepan Koltsov 5e794aa789
VacantEntry/OccupiedEntry default type for S (#193) 2022-04-27 14:16:25 +02:00
Stepan Koltsov 3d315aa7a7
Hash keys once (#194) 2022-04-27 14:15:16 +02:00
Joel 0516c3cc65
Update README.md 2022-04-27 14:12:47 +02:00
xacrimon a8187ba896
Release v5.2.0 2022-03-14 22:11:37 +01:00
Leo 23f3d04335
Add check for if a shard_amount is a power of two. (#186)
Signed-off-by: Leo Lu <luyuxuanleo@gmail.com>
2022-03-01 10:26:30 +01:00
Leo 6321c886b4
Add support for setting shard amount. (#185) 2022-02-28 18:28:38 +01:00