#network #cache #magic #ring #buffer

nightly network-collections

Collections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory crashes. Includes two kinds of least recently used caches, a bounded hash map, a magic ring buffer (virtual ring buffer) and an arena allocator.

10 releases

Uses old Rust 2015

0.1.9 Nov 27, 2018
0.1.8 Aug 10, 2018
0.1.2 Jul 31, 2018

#12 in #magic

25 downloads per month
Used in 4 crates (3 directly)

AGPL-3.0

105KB
2.5K SLoC

network

network is a set of Rust crates to make it easier to work with networking.

Licensing

The license for this project is AGPL3.


lib.rs:

network-collections

Collections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory crashes. Includes two kinds of least recently used caches, a bounded hash map, a magic ring buffer (virtual ring buffer) and an arena allocator.

Dependencies

~0.6–1.5MB
~35K SLoC

9[