snmalloc-rs
rust bindings of snmalloc.
0.7.5
9.6M downloads/mo
#3176 most downloaded on crates.io
microsoft/snmalloc
What this package is like to depend on
Last release 11 days ago
12 Aug 2026
Release timing varies
gaps range from 8 days to 1.1 years
Most releases are documented
notes for 32 of 43 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
44 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
44 releases · Jan 2020 to Aug 2026Releases
latest 44-
0.7.512 Aug 2026Release notes
Open source →What's Changed
This release adds C23 API support, pointer-authentication protection for the free list, improved AArch64 platform support, and expanded memory usage statistics in Rust.
New Features
C23 API support
- Expose
free_sized/free_aligned_sizedby @SchrodingerZhu in #832
Security mitigations
- Adding Pointer-Authentication Protection for Free List Forward Edge by @Pengxiang-Huang in #840
Platform support
Rust
- Hotfix for cargo publish by @SchrodingerZhu in #831
- Expose memory usage statistics to Rust via
SnMalloc::memory_stats()by @jayakasadev in #851
Bug Fixes
Testing
- Add tests for
src/snmalloc/override/new.ccby @paulhdk in #839 - Add corruption-detection test for probabilistic mitigations by @mjp41 in #848
- Move
test_memory_statsto an integration test by @mjp41 in #856
Build
CI
- Add cross-platform Coverage CI by @mjp41 in #842
- Reduce ctest wall-time without losing coverage by @mjp41 in #844
- Fix shell quoting in coverage-comment workflow by @mjp41 in #845
- Resolve PR by head SHA in coverage-comment workflow by @mjp41 in #847
- Don't mis-route nightly coverage comment to last-merged PR by @mjp41 in #849
New Contributors
- @paulhdk made their first contribution in #839
- @Pengxiang-Huang made their first contribution in #840
- @jayakasadev made their first contribution in #851
Full Changelog: 0.7.4...0.7.5
- Expose
-
0.7.425 Mar 2026Release notes
Open source →What's Changed
Optimisations
- Improve post-teardown performance by Matthew Parkinson (@mjp41) in #810
- Fix performance issue in Red Black Tree init by Matthew Parkinson (@mjp41) in #818
Bug Fixes
- Detect cyclic corruption in SeqSet::iterate by Matthew Parkinson (@mjp41) in #813
Platform support
Rust
- snmalloc-rs moved into snmalloc repo by Matthew Parkinson (@mjp41) in #801
- Rust: Update build features by Matthew Parkinson (@mjp41) in #804
- misc: prepare for future release and bump versions by Schrodinger ZHU Yifan (@SchrodingerZhu) in #807
- Remove unused submodule from snmalloc-rs by Matthew Parkinson (@mjp41) in #827
- Address Rust packaging issues by Matthew Parkinson (@mjp41) in #830
C++ support
- Add SNMALLOC_EXPORT annotation to c++ allocator functions. by akrieger in #822
- inline annotation in pal_windows. by Matthew Parkinson (@mjp41) in #829
Build
- Adding vcpkg integration by Matthew A Johnson (@matajoh) in #825
- Parameterise clangformat_targets for reuse by other projects by Matthew Parkinson (@mjp41) in #826
- Move time concept to Pal by Matthew Parkinson (@mjp41) in #802
CI
- CI Fixes by Matthew Parkinson (@mjp41) in #803
- Refactor CI by Matthew Parkinson (@mjp41) in #806
- Add experiment with Claude.md by Matthew Parkinson (@mjp41) in #819
New Contributors
Full Changelog: 0.7.3...0.7.4
Release notes
Open source →- Tracking upstream to match version 0.7.4.
- SnMalloc has been moved to upstream repository. Future releases will track upstream release directly.
-
0.3.806 Feb 2025Release notes
Open source →- Tracking upstream to match version 0.7.1
- Recommended to upgrade from 0.3.7 to get an important bug fix.
-
0.3.728 Nov 2024 -
0.3.612 Jun 2024Nothing published for this version
-
0.3.529 Feb 2024Nothing published for this version
-
0.3.429 Jun 2023 -
0.3.317 Jun 2022 -
0.3.217 Jun 2022 -
0.3.108 Jun 2022Release notes
Open source →- Fixes
build_ccfeature (broken in 0.3.0 release). - Fixes
native-cpufeature (broken in 0.3.0 release).
- Fixes
-
0.3.031 May 2022Release notes
Open source →- Release to follow upstream 0.6.0
- upstream Major redesign of the code to improve performance and enable a mode that provides strong checks against corruption.
-
0.3.0-beta.1+f1be60930 Jan 2022 pre-releaseNothing published for this version
-
0.2.2811 Oct 2021Release notes
Open source →- Deprecation of
cache-friendly - Use exposed
alloc_zeroedfromsnmalloc - upstream changes of remote communication, corruption detection and compilation flag detection.
- Deprecation of
-
0.2.2702 May 2021Release notes
Open source →- Reduction of libc dependency
- upstream Windows 7 and windows 8 compatibility added
- upstream Option to use C++20 standards if available
- upstream Preparations of cherification (heavy refactors of the structure)
- upstream Cold routine annotations
-
0.2.2615 Mar 2021Release notes
Open source →- upstream Building adjustment
- option of cc crate as build feature, only c compiler needed, no cmake required
- Addition of dynamic local TLS option
-
0.2.2505 Mar 2021Release notes
Open source →- upstream Apple M1 support
- upstream Building adjust
- non-allocation tracking functions
-
0.2.2402 Feb 2021Release notes
Open source →- upstream update to use a more efficient power of 2 check
- fix msvc support w/ crt-static
-
0.2.2324 Jan 2021 -
0.2.2230 Dec 2020Release notes
Open source →- upstream avoid amplification when routing
- upstream remotely store sizeclass
- upstream limit flat pagemap size
- upstream limit medium slab header
- upstream solaris support fix
-
0.2.2112 Nov 2020 -
0.2.2024 Oct 2020Release notes
Open source →- upstream pass through Haiku build fix.
- upstream fix typo in macro definition for 16MiB shared library shim.
- upstream DragonFly support (userland).
- upstream natural alignment for USE_MALLOC
- upstream fix bug in pagemap when index has many level
- upstream add constexpr annotation to align_up/down.
-
0.2.1919 Sep 2020Release notes
Open source →- upstream stats
- upstream PAL updates and concepts
- upstream ddd constexpr annotation to align_up/down
- change macOS CI to follow xcode 12
-
0.2.1830 Jul 2020 -
0.2.1709 Jul 2020Release notes
Open source →- upstream add backoff for large reservation
- upstream default chunk configuration to 1mib
- add new feature flags
-
0.2.1628 Jun 2020Release notes
Open source →- upstream New implementation of address space reservation leading to
- better integration with transparent huge pages; and
- lower address space requirements and fragmentation.
- Notice MinGW broken state
- upstream New implementation of address space reservation leading to
-
0.2.1508 Jun 2020Release notes
Open source →- upstream fix VS2019 build
- upstream fix wrong realloc behavior and performance issue
-
0.2.1429 May 2020Release notes
Open source →- upstream refactor ptr representation.
- upstream improve for more targets and architectures.
- seperate native CPU feature
-
0.2.1309 May 2020 -
0.2.1229 Apr 2020 -
0.2.1121 Apr 2020Release notes
Open source →- add android support
- upstream support x86
- upstream support android
- upstream fix callback
-
0.2.1013 Apr 2020Release notes
Open source →- follow upstream 0.4.0
- upstream defense TLS teardown
- upstream adjust GCC warning
- upstream other release optimizations
-
0.2.901 Apr 2020Release notes
Open source →- upstream fix OpenEnclave
- upstream adjust remote batch size (performance improved dramatically, see benchmark
- upstream improve slow path performance for allocation
-
0.2.821 Mar 2020Release notes
Open source →- More CI (ARM64 on QEMU)
- upstream ARM(32/64) support
- upstream x86-SGX support
-
0.2.713 Mar 2020Release notes
Open source →- partially fixed
mingw - upstream remote dealloc refactor (higher performance)
- upstream remove extra assertions
- partially fixed
-
0.2.608 Mar 2020 -
0.2.504 Mar 2020Nothing published for this version
-
0.2.413 Feb 2020Nothing published for this version
-
0.2.306 Feb 2020Nothing published for this version
-
0.2.202 Feb 2020Nothing published for this version
-
0.2.124 Jan 2020Nothing published for this version
-
0.2.023 Jan 2020Nothing published for this version
-
0.1.221 Jan 2020Nothing published for this version
-
0.1.120 Jan 2020Nothing published for this version
-
0.1.020 Jan 2020Nothing published for this version