[package]
name = "portable-atomic"
version = "1.4.1"
edition = "2018"
rust-version = "1.34"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/taiki-e/portable-atomic"
keywords = ["atomic"]
categories = ["concurrency", "data-structures", "embedded", "hardware-support", "no-std"]
exclude = ["/.*", "/ci", "/tools", "/target-specs", "/Cross.toml", "/DEVELOPMENT.md"]
description = """
Portable atomic types including support for 128-bit atomics, atomic float, etc.
"""
[package.metadata.docs.rs]
features = ["float", "std", "serde", "critical-section"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]
[workspace]
members = [
"bench",
"portable-atomic-util",
"tests/api-test",
"tests/helper",
"tools/codegen",
]
[lib]
doc-scrape-examples = false
[features]
default = ["fallback"]
fallback = []
float = []
std = []
require-cas = []
unsafe-assume-single-core = []
s-mode = []
disable-fiq = []
[dependencies]
serde = { version = "1.0.103", optional = true, default-features = false }
critical-section = { version = "1", optional = true }
[dev-dependencies]
test-helper = { path = "tests/helper", features = ["std"] }
build-context = "0.1"
crossbeam-utils = "0.8"
fastrand = "2"
paste = "1"
quickcheck = { default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" }
serde_test = "1"
sptr = "0.3"
static_assertions = "1"