[package]
edition = "2021"
rust-version = "1.75.0"
name = "arcshift"
version = "0.4.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Replacement for std::sync::Arc<T> that supports updating the value, with some caveats."
homepage = "https://github.com/avl/arcshift/"
documentation = "https://docs.rs/arcshift/"
readme = "README.md"
keywords = [
"arc",
"atomic",
]
categories = [
"memory-management",
"data-structures",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/avl/arcshift/"
[features]
debug = ["std"]
default = ["std"]
disable_slow_tests = []
nightly = []
nostd_unchecked_panics = []
shuttle = [
"dep:shuttle",
"std",
]
std = []
validate = ["std"]
[lib]
name = "arcshift"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "weak"
path = "examples/weak.rs"
[dependencies.shuttle]
version = "0.7"
optional = true
[dev-dependencies.crossbeam-channel]
version = "0.5"
[dev-dependencies.mutants]
version = "0"
[dev-dependencies.rand]
version = "0.8"
[target."cfg(loom)".dependencies.loom]
version = "0.7"
features = ["checkpoint"]
optional = true
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(coverage)",
]