arena64 0.3.0

A concurrent arena providing mutually exclusive access over guarded indexes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![no_std]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(any(test, feature = "extern_crate_alloc"))]
extern crate alloc;

pub(crate) const IDX: usize = (1 << 6) - 1;
pub(crate) const IDX_MASK: usize = !IDX;

#[cfg_attr(docsrs, doc(cfg(feature = "extern_crate_alloc")))]
#[cfg(feature = "extern_crate_alloc")]
pub mod arena;
#[cfg_attr(docsrs, doc(cfg(feature = "extern_crate_alloc")))]
#[cfg(feature = "extern_crate_alloc")]
pub mod boxed;
pub mod heapless;