# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "staticinit" version = "1.0.0" authors = ["Olivier Kannengieser "] description = "Safe mutable static and non const static initialization, and code execution at program startup/exit." keywords = ["no_std", "optimization", "static", "preformance", "constructor"] categories = ["no-std", "rust-patterns", "memory-management"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/vkahl/static_init" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [profile.bench] lto = true [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.0" [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 = [] spin_loop = [] test_no_global_lazy_hint = [] 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"]