growable

Crates.iogrowable
lib.rsgrowable
version0.7.0
sourcesrc
created_at2018-08-08 21:55:46.5469
updated_at2021-03-06 13:28:21.345033
descriptionA growable, reusable box for Rust.
homepagehttps://github.com/mahou-shoujo/growable-rs.git
repositoryhttps://github.com/mahou-shoujo/growable-rs.git
max_upload_size
id78432
size1,429,043
Eugene Palmoff (mahou-shoujo)

documentation

https://mahou-shoujo.github.io/growable-rs/growable/index.html

README

A growable, reusable box for Rust.

Build Status

This crate provides a custom Box type with matching API that also allows to reuse the same memory block to store different types with the minimal amount of allocations and is supposed to be used with a pool-based allocator (such as the one provided by this crate).

Notes

The implementation depends on some unstable features:

  1. allocator-api
  2. unsize
  3. coerce-unsized
  4. slice_ptr_get

Things can break randomly and the minimal supported version of rustc will be shifted accordingly. Right now it is rustc 1.52.0-nightly (caca2121f 2021-03-05).

Commit count: 68

cargo fmt