spsc-ring 0.1.0

Lock-free SPSC ring buffer — sequence-number protocol, cache-line padded, zero dependencies
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 = "2024"
rust-version = "1.95"
name = "spsc-ring"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lock-free SPSC ring buffer — sequence-number protocol, cache-line padded, zero dependencies"
documentation = "https://docs.rs/spsc-ring"
readme = "README.md"
keywords = [
    "spsc",
    "ring-buffer",
    "lock-free",
    "concurrency",
    "queue",
]
categories = [
    "concurrency",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/geronimo-iia/spsc-ring.git"

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "bulk"
path = "examples/bulk.rs"

[[example]]
name = "disconnect"
path = "examples/disconnect.rs"

[[example]]
name = "wait_strategy"
path = "examples/wait_strategy.rs"

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

[dependencies]

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

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