Crates.io | objectpool |
lib.rs | objectpool |
version | 0.1.0 |
source | src |
created_at | 2024-05-24 06:17:05.424101 |
updated_at | 2024-05-24 17:44:31.489499 |
description | Yet another lock-free object pool, support no_std |
homepage | https://github.com/al8n/objectpool |
repository | https://github.com/al8n/objectpool |
max_upload_size | |
id | 1250732 |
size | 64,551 |
Arc
wrapper required.no_std
environment.std
[dependencies]
objectpool = "0.1"
no_std
[dependencies]
objectpool = { version = "0.1", default-features = false, features = ["alloc"] }
test
:
cargo test
miri
:
cargo miri test
loom
:
cargo test --tests --features loom
For detailed reports, you can see the latest Benchmark GitHub Action, and download the Artifacts.
cargo bench
I need an object pool that supports the no_std
environment. Unfortunately, none of the object-pool
, lockfree-object-pool
and sharded-slab
support no_std
.
objectpool
is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2024 Al Liu.