4 releases (2 breaking)
0.14.1 | Jun 11, 2024 |
---|---|
0.14.0 | Apr 17, 2024 |
0.13.0 | Apr 5, 2024 |
0.12.0 | Oct 18, 2023 |
#4 in #koto
328 downloads per month
Used in 17 crates
(3 directly)
20KB
472 lines
Memory management utilities for Koto
Currently, only reference-counted pointers without cycle detection are implemented.
The intent is that this crate can be expanded in the future with implementations of
Ptr
and PtrMut
that offer alternative memory management strategies.
Making custom GC types that support trait objects or other DSTs is currently only possible with nightly Rust, while the stabilization of DST custom coercions is pending [^1]. Until then, GC implementations for Ptr/PtrMut could be introduced with a nightly-only feature.
Dependencies
~0–4.5MB