static_init 1.0.3

Safe mutable static and non const static initialization, and code execution at program startup/exit.
Documentation
[[bench]]
harness = false
name = "multi_threaded"
[build-dependencies.cfg_aliases]
version = "0.1"
[dependencies.bitflags]
version = "1"

[dependencies.parking_lot]
optional = true
version = "0.11"

[dependencies.parking_lot_core]
optional = true
version = "0.8"

[dependencies.static_init_macro]
version = "1.0.2"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.3"

[dev-dependencies.crossbeam]
version = "0.8"

[dev-dependencies.ctor]
version = "0.1"

[dev-dependencies.double-checked-cell]
features = ["parking_lot_mutex"]
version = "2.1"

[dev-dependencies.lazy_static]
version = "1.4"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.parking_lot]
version = "0.11"

[features]
bench_nightly = ["criterion/real_blackbox"]
debug_order = ["static_init_macro/debug_order", "parking_lot"]
default = []
lock_statistics = []
spin_loop = []
test_no_global_lazy_hint = []
test_pthread_support = ["thread_local"]
thread_local = []

[package]
authors = ["Olivier Kannengieser <okannen@gmail.com>"]
categories = ["no-std", "rust-patterns", "memory-management"]
description = "Safe mutable static and non const static initialization, and code execution at program startup/exit."
edition = "2021"
keywords = ["no_std", "optimization", "static", "preformance", "constructor"]
license = "MIT OR Apache-2.0"
name = "static_init"
readme = "README.md"
repository = "https://gitlab.com/okannen/static_init"
resolver = "2"
version = "1.0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.dev]
panic = "abort"
[target."cfg(not(any(target_os=\"linux\",target_os=\"android\")))".dependencies.parking_lot]
version = "0.11"

[target."cfg(not(any(target_os=\"linux\",target_os=\"android\")))".dependencies.parking_lot_core]
version = "0.8"
[target."cfg(target_os=\"android\")".dependencies.libc]
default-features = false
version = "0.2"
[target."cfg(target_os=\"linux\")".dependencies.libc]
default-features = false
version = "0.2"
[target."cfg(target_os=\"windows\")".dependencies.winapi]
features = ["minwindef", "winnt", "winbase", "synchapi"]
version = "0.3"