ufotofu_queues

Crates.ioufotofu_queues
lib.rsufotofu_queues
version0.6.0
sourcesrc
created_at2024-06-24 12:40:19.315509
updated_at2024-11-30 09:11:32.489113
descriptionInfallible queues that support bulk enqueueing and dequeueing
homepage
repositoryhttps://github.com/worm-blossom/ufotofu_queues
max_upload_size
id1282197
size43,594
Teahouse Regulars (github:worm-blossom:teahouse-regulars)

documentation

README

UFOTOFU QUEUES

A trait and implementations of non-blocking, infallible queues that support bulk enqueueing and bulk dequeueing via APIs inspired by ufotofu.

Queue Implementations

So far, there is only a single implementation: Fixed, which is a heap-allocated ring-buffer of unchanging capacity.

Future plans include a queue of static (known at compile-time) capacity that can be used in allocator-less environments, and an elastic queue that grows and shrinks its capacity within certain parameters, to free up memory under low load.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 48

cargo fmt