async-ringbuf 0.3.6

Async SPSC FIFO ring buffer
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"
name = "async-ringbuf"
version = "0.3.6"
authors = ["Alexey Gerasev <alexey.gerasev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async SPSC FIFO ring buffer"
documentation = "https://docs.rs/async-ringbuf"
readme = "README.md"
keywords = [
    "async",
    "spsc",
    "ring-buffer",
    "rb",
    "fifo",
]
categories = [
    "asynchronous",
    "concurrency",
    "data-structures",
    "no-std",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/agerasev/ringbuf.git"

[features]
alloc = ["ringbuf/alloc"]
bench = ["std"]
default = [
    "alloc",
    "std",
]
portable-atomic = [
    "ringbuf/portable-atomic",
    "futures-util/portable-atomic",
    "dep:portable-atomic",
    "dep:portable-atomic-util",
]
std = [
    "alloc",
    "ringbuf/std",
    "futures-util/io",
]

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

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = ["alloc"]

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

[dependencies.futures-util]
version = "0.3.31"
features = ["sink"]
default-features = false

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

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

[dependencies.ringbuf]
version = "0.5.0"
default-features = false

[dev-dependencies.futures]
version = "0.3.31"
features = [
    "executor",
    "thread-pool",
]

[dev-dependencies.tokio]
version = "1.37.0"
features = ["full"]