encase
Provides a mechanism to lay out data into GPU buffers ensuring WGSL's memory layout requirements are met
0.12.1
7.5M downloads/mo
#3632 most downloaded on crates.io
teoxoy/encase
What this package is like to depend on
Last release 7 days ago
16 Aug 2026
Release timing varies
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 20 of 20 stable releases
1 version withdrawn
withdrawn after publishing
4 years old
21 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
21 releases · Mar 2022 to Aug 2026
2023
2024
2025
2026
Releases
latest 21-
0.12.116 Aug 2026 -
0.12.012 Sep 2025Release notes
Open source →- Place
align/sizeinside ashader()attribute instead of being free-floating - Remove trait implementations on foreign types
- Place
-
0.11.225 Aug 2025 -
0.11.116 Jun 2025 withdrawnRelease notes
Open source →- Fix "function
checkis never used" lint - Fix "this item cannot be used as its where bounds are not satisfied for the
Selftype" lint
- Fix "function
-
0.11.025 Apr 2025Release notes
Open source →- Added
{Storage,Uniform}Buffer::content_of()to make it easier to convert aShaderTypeto bytes - Increased MSRV to 1.77
- Updated
glamto v0.30 - Updated
imblto v5 - Updated
ndarrayto v0.16 - Updated
thiserrorto v2
- Added
-
0.10.013 Sep 2024 -
0.9.022 Jun 2024 -
0.8.024 Apr 2024Release notes
Open source →- Internal optimization: faster copying of POD types
- Added support for writing to uninitialized memory
- Increased MSRV to 1.68.2
- Updated
glamto v0.27
-
0.7.002 Jan 2024Release notes
Open source →- Allow buffer types to accept
?Sizedtypes - Fix min
synversion (v2.0.1) - Updated
glamto v0.25 - Updated
vekto v0.16 - Updated
rpdsto v1 - Updated
archeryto v1
- Allow buffer types to accept
-
0.6.109 May 2023 -
0.6.006 May 2023Release notes
Open source →- Inline potentially hot functions more aggressively
- Fix
clippy::extra_unused_type_parameterswarning - Updated
synto v2 - Updated
glamto v0.24 - Updated
rpdsto v0.13 - Updated
archeryto v0.5
-
0.5.004 Mar 2023Release notes
Open source →- Check dynamic buffer alignment is not less than 32
- Work around
trivial_boundserror - Increased MSRV to 1.63
- Updated
glamto v0.23 - Updated
nalgebrato v0.32
-
0.4.109 Dec 2022 -
0.4.006 Nov 2022 -
0.3.003 Jul 2022Release notes
Open source →- Renamed
Size::SIZEtoShaderSize::SHADER_SIZE - Updated
glamto v0.21 - Increased MSRV to 1.58
- Fix
clippy::missing_const_for_fnwarning
- Renamed
-
0.2.114 Jun 2022 -
0.2.005 May 2022Release notes
Open source →- Renamed
WgslTypetoShaderType - Removed
assert_uniform_compatderive macro helper attribute - Fixed crate not compiling on latest rustc in some scenarios
- Added ability for other crates to wrap the derive macro implementation for re-export purposes
- Updated
nalgebrato v0.31 andimblto v2
- Renamed
-
0.1.316 Mar 2022 -
0.1.215 Mar 2022 -
0.1.109 Mar 2022 -
0.1.006 Mar 2022