bcast 0.0.28

Low latency broadcast (SPMC) buffer designed to work with shared memory.
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.88.0"
name = "bcast"
version = "0.0.28"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low latency broadcast (SPMC) buffer designed to work with shared memory."
documentation = "https://docs.rs/bcast"
readme = "README.md"
keywords = [
    "ipc",
    "spmc",
    "shared-memory",
    "low-latency",
    "ring-buffer",
]
categories = [
    "data-structures",
    "concurrency",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/HaveFunTrading/bcast"

[features]
default = []
mmap = ["dep:memmap2"]

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

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

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

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

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

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

[dependencies.crossbeam-utils]
version = "0.8.20"

[dependencies.memmap2]
version = "0.9.5"
optional = true

[dependencies.thiserror]
version = "2.0.3"

[dev-dependencies.aligned-vec]
version = "0.6.4"

[dev-dependencies.anyhow]
version = "1.0.93"

[dev-dependencies.hdrhistogram]
version = "7.5.4"

[dev-dependencies.memmap2]
version = "0.9.5"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.tempfile]
version = "3.20.0"

[profile.bench]
lto = true
codegen-units = 1
debug = 0

[profile.release]
lto = true
codegen-units = 1
debug = 2