[package]
edition = "2024"
rust-version = "1.85"
name = "once_cell_no_std"
version = "0.2.0"
authors = [
"Aleksey Kladov <aleksey.kladov@gmail.com>",
"Philipp Oppermann <dev@phil-opp.com>",
]
build = false
exclude = [
"/.github",
"/.devcontainer",
"/ci",
"/rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sync single assignment cells for `no_std`"
documentation = "https://docs.rs/once_cell_no_std"
readme = "README.md"
keywords = [
"no_std",
"static",
"once",
"cell",
"sync",
]
categories = [
"no-std",
"rust-patterns",
"embedded",
"concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/phil-opp/once_cell_no_std"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
[lib]
name = "once_cell_no_std"
path = "src/lib.rs"
[[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"
[[test]]
name = "loom_model"
path = "tests/loom_model.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[dev-dependencies.regex]
version = "1.10.6"
[target."cfg(loom)".dependencies.loom]
version = "0.7"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(no_panic_check)",
]