atomic-backoff 0.1.1

Customizable backoff strategies for compare-and-swap loops and spin loops.
Documentation
# 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 = "2021"
rust-version = "1.60"
name = "atomic-backoff"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Customizable backoff strategies for compare-and-swap loops and spin loops."
homepage = "https://github.com/wyfo/atomic-backoff"
readme = "README.md"
keywords = [
    "atomic",
    "backoff",
    "lock-free",
    "no-std",
    "spin",
]
categories = [
    "concurrency",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wyfo/atomic-backoff"

[features]
default = ["std"]
portable-atomic = ["dep:portable-atomic"]
std = []

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

[dependencies.portable-atomic]
version = "1"
optional = true
default-features = false

[target."cfg(loom)".dependencies.loom]
version = "0.7"

[lints.clippy]
dbg_macro = "warn"
semicolon_if_nothing_returned = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]