sandpit 0.5.2

A concurrent garbage collected arena
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(feature = "multi_threaded")]
use super::multi_threaded_collector::MultiThreadedCollector;
#[cfg(not(feature = "multi_threaded"))]
use super::single_threaded_collector::SingleThreadedCollector;

/// The garbage collector type - aliases to either SingleThreadedCollector or MultiThreadedCollector
/// based on the `multi_threaded` feature flag.
#[cfg(not(feature = "multi_threaded"))]
pub type Collector = SingleThreadedCollector;

#[cfg(feature = "multi_threaded")]
pub type Collector = MultiThreadedCollector;