# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "arc-swap"
version = "1.8.2"
authors = ["Michal 'vorner' Vaner <vorner@vorner.cz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Atomically swappable Arc"
documentation = "https://docs.rs/arc-swap"
readme = "README.md"
keywords = [
    "atomic",
    "Arc",
]
categories = [
    "data-structures",
    "memory-management",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vorner/arc-swap"

[package.metadata.docs.rs]
features = [
    "serde",
    "weak",
]

[badges.maintenance]
status = "actively-developed"

[features]
experimental-strategies = []
experimental-thread-local = []
internal-test-strategies = []
weak = []

[lib]
name = "arc_swap"
path = "src/lib.rs"

[[test]]
name = "random"
path = "tests/random.rs"

[[test]]
name = "stress"
path = "tests/stress.rs"

[[bench]]
name = "background"
path = "benches/background.rs"
harness = false

[[bench]]
name = "int-access"
path = "benches/int-access.rs"
harness = false

[[bench]]
name = "track"
path = "benches/track.rs"
harness = false

[dependencies.rustversion]
version = "1"

[dependencies.serde]
version = "1"
features = ["rc"]
optional = true

[dev-dependencies.adaptive-barrier]
version = "~1"

[dev-dependencies.criterion]
version = "~0.7"

[dev-dependencies.crossbeam-utils]
version = "~0.8"

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.num_cpus]
version = "~1"

[dev-dependencies.once_cell]
version = "~1"

[dev-dependencies.parking_lot]
version = "~0.12"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_derive]
version = "1.0.130"

[dev-dependencies.serde_test]
version = "1.0.177"

[profile.bench]
debug = 2
