illicit 0.9.2

Type-indexed dynamically-scoped singletons.
Documentation
#[macro_use]
extern crate criterion;

use criterion::Criterion;

fn enter_small_env(c: &mut Criterion) {
    c.bench_function("enter a small illicit env", |b| {
        b.iter(|| illicit::child_env!(u128 => 10).enter(|| ()));
    });
}

criterion::criterion_group!(benches, enter_small_env,);
criterion::criterion_main!(benches);