[package] name = "arcshift" version = "0.1.10" documentation = "https://docs.rs/arcshift/" homepage = "https://github.com/avl/arcshift/" repository = "https://github.com/avl/arcshift/" edition = "2021" license = "MIT OR Apache-2.0" description = "Replacement for std::sync::Arc that supports updating the value, with some caveats." readme = "../README.md" keywords = ["arc", "atomic"] categories = ["memory-management", "data-structures"] [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(coverage)'] } [dependencies] # Feature only intended for development shuttle = {version = "0.7", optional = true} [features] # Feature to enable extra validation, at a memory and performance cost. # Only intended for internal use, for verification. validate = [] # Feature to enable extra debug output on stdout. # Only intended for internal use, for verification and troubleshooting. debug = [] # Feature which disables the slowest tests disable_slow_tests = [] # Feature for internal use, for testing using the 'shuttle' framework # Enables use of some compiler features which are not yet available on stable. # Doesn't actually change the function, but is more forward compatible, and more guaranteed to work # on future compilers. nightly = [] [target.'cfg(loom)'.dependencies] loom = { version = "0.7", features = ["checkpoint"], optional = true } [dev-dependencies] crossbeam-channel = "0.5" rand="0.8" mutants = "0"