# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "static_init" version = "1.0.3" authors = ["Olivier Kannengieser "] description = "Safe mutable static and non const static initialization, and code execution at program startup/exit." readme = "README.md" keywords = [ "no_std", "optimization", "static", "preformance", "constructor", ] categories = [ "no-std", "rust-patterns", "memory-management", ] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/okannen/static_init" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev] panic = "abort" [[bench]] name = "multi_threaded" harness = false [dependencies.bitflags] version = "1" [dependencies.parking_lot] version = "0.11" optional = true [dependencies.parking_lot_core] version = "0.8" optional = true [dependencies.static_init_macro] version = "1.0.2" [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.crossbeam] version = "0.8" [dev-dependencies.ctor] version = "0.1" [dev-dependencies.double-checked-cell] version = "2.1" features = ["parking_lot_mutex"] [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.libc] version = "0.2" [dev-dependencies.parking_lot] version = "0.11" [build-dependencies.cfg_aliases] version = "0.1" [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 = [] [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] version = "0.2" default-features = false [target."cfg(target_os=\"linux\")".dependencies.libc] version = "0.2" default-features = false [target."cfg(target_os=\"windows\")".dependencies.winapi] version = "0.3" features = [ "minwindef", "winnt", "winbase", "synchapi", ]