[dependencies.portable-atomic]
default-features = false
optional = true
version = "1.8"
[dev-dependencies.critical-section]
features = ["std"]
version = "1.1.3"
[dev-dependencies.regex]
version = "1.10.6"
[[example]]
name = "bench"
path = "examples/bench.rs"
[[example]]
name = "bench_acquire"
path = "examples/bench_acquire.rs"
[[example]]
name = "reentrant_init_panic"
path = "examples/reentrant_init_panic.rs"
[[example]]
name = "regex"
path = "examples/regex.rs"
[[example]]
name = "test_synchronization"
path = "examples/test_synchronization.rs"
[features]
default = []
[lib]
name = "once_cell_no_std"
path = "src/lib.rs"
[package]
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "embedded"]
description = "Sync single assignment cells for `no_std`"
documentation = "https://docs.rs/once_cell_no_std"
edition = "2021"
exclude = ["*.png", "*.svg", "/Cargo.lock.msrv", "rustfmt.toml"]
keywords = ["no_std", "static"]
license = "MIT OR Apache-2.0"
name = "once_cell_no_std"
readme = "README.md"
repository = "https://github.com/phil-opp/once_cell_no_std"
rust-version = "1.65"
version = "0.1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[[test]]
name = "main"
path = "tests/main.rs"