bevy/crates
tiagolam 1bc34b4e67 bevy_utils: Re-introduce with_capacity(). (#2393)
# Objective
Re-introduce `AHashExt` and respective `with_capacity()` implementations to give a more ergonomic way to set a `HashMap` / `HashSet` capacity.

As a note, this has also been discussed and agreed on issue #2115, which this PR addresses (leaving `new()` out of the `AHashExt` trait).

Fixes #2115.

## Solution
PR #1235 had removed the `AHashExt` trait and respective `with_capacity()`s implementations, leaving only the less ergonomic `HashMap::with_capacity_and_hasher(size, Default::default())` option available.

This re-introduces `AHashExt` and respective `with_capacity()` implementations to give a more ergonomic way to set a `HashMap` / `HashSet` capacity.
2021-06-26 19:49:35 +00:00
..
bevy_app Added helpful adders for systemsets (#2366) 2021-06-23 16:47:08 +00:00
bevy_asset [assets] Fix AssetServer::get_handle_path (#2310) 2021-06-09 20:04:22 +00:00
bevy_audio Fix Bevy crashing if no audio device is found (#2269) 2021-06-08 03:14:38 +00:00
bevy_core Fixes Timer Precision Error Causing Panic (#2362) 2021-06-26 19:49:34 +00:00
bevy_derive Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
bevy_diagnostic fix diagnostic length for asset count (#2165) 2021-05-14 19:31:36 +00:00
bevy_dylib fix clippy warning failing on CI (#2353) 2021-06-18 00:08:39 +00:00
bevy_dynamic_plugin Various cleanups (#2046) 2021-05-01 20:07:06 +00:00
bevy_ecs Allow Option<NonSend<T>> and Option<NonSendMut<T>> as SystemParam (#2345) 2021-06-26 19:29:38 +00:00
bevy_gilrs Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_gltf Log errors when loading textures from a gltf file (#2260) 2021-06-08 02:46:44 +00:00
bevy_input Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_internal Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_log Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_macro_utils Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
bevy_math Update glam (0.15.1) and hexasphere (3.4) (#2199) 2021-05-18 18:56:15 +00:00
bevy_pbr Fix PBR regression for unlit materials (#2197) 2021-05-17 22:45:07 +00:00
bevy_reflect Document FromType trait (#2323) 2021-06-09 18:32:18 +00:00
bevy_render Update hexasphere to 4.0.0. (#2390) 2021-06-25 00:35:41 +00:00
bevy_scene Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_sprite expose texture/image conversions as From/TryFrom (#2175) 2021-06-08 02:26:51 +00:00
bevy_tasks fix clippy warning failing on CI (#2353) 2021-06-18 00:08:39 +00:00
bevy_text Allows a number of clippy lints and fixes 2 (#1999) 2021-05-14 20:37:32 +00:00
bevy_transform fix clippy warning failing on CI (#2353) 2021-06-18 00:08:39 +00:00
bevy_ui Allows a number of clippy lints and fixes 2 (#1999) 2021-05-14 20:37:32 +00:00
bevy_utils bevy_utils: Re-introduce with_capacity(). (#2393) 2021-06-26 19:49:35 +00:00
bevy_wgpu Update wgpu requirement from 0.8 to 0.9 (#2371) 2021-06-24 16:38:02 +00:00
bevy_window Adds an alias mouse position -> cursor position (#2038) 2021-04-28 21:26:47 +00:00
bevy_winit Bump winit to 0.25 (#2186) 2021-05-18 18:36:36 +00:00