[package]
name = "double-checked-cell"
version = "2.1.0"
authors = ["Niklas Fiekas <niklas.fiekas@backscattering.de>"]
license = "MIT/Apache-2.0"
keywords = ["lazy", "cell", "once"]
readme = "README.md"
repository = "https://github.com/niklasf/double-checked-cell"
categories = ["concurrency"]
description = "A thread-safe lazily initialized cell using double-checked locking"
[features]
default = []
parking_lot_mutex = ["parking_lot"]
const_fn = ["parking_lot_mutex", "parking_lot/nightly"]
[dependencies]
void = "1.0"
unreachable = "1.0"
parking_lot = { version = "0.11", optional = true, default-features = false }
[dev-dependencies]
scoped-pool = "1.0"
[package.metadata.docs.rs]
all-features = true
[badges]
travis-ci = { repository = "niklasf/double-checked-cell" }