Cargo Features

staticinit has no features set by default.

[dependencies]
staticinit = { version = "1.0.0", features = ["debug_order", "spin_loop", "test_no_global_lazy_hint", "bench_nightly", "parking_lot_core"] }
debug_order = parking_lot

for detection of lazy static cyclic initialization and detection of dynamic statics access while not initialized

Enables debug_order of static_init_macro

thread_local spin_loop
test_no_global_lazy_hint

internal feature to enable tests

bench_nightly dev

to be used when benching because the stable criterion black box does not work here

Enables real_blackbox of criterion ^0.3

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

parking_lot debug_order?

Enables parking_lot ^0.11

parking_lot_core implicit feature

Enables parking_lot_core ^0.8

parking_lot_core:

An advanced API for creating custom synchronization primitives