ringfire 0.4.0

Zero-copy lock-free inter-process communication (IPC) ring buffer and shared memory bus in Rust
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"
name = "ringfire"
version = "0.4.0"
authors = ["alex09x <alex@prod.codes>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy lock-free inter-process communication (IPC) ring buffer and shared memory bus in Rust"
readme = "README.md"
keywords = [
    "ipc",
    "shared-memory",
    "lock-free",
    "ring-buffer",
    "hft",
]
categories = [
    "concurrency",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alex09x/ringfire"

[features]
default = ["tokio"]
tokio = [
    "dep:tokio",
    "dep:futures-core",
]

[lib]
name = "ringfire"
crate-type = [
    "lib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[bin]]
name = "ringfire"
path = "src/bin/ringfire.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "time",
    "macros",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"

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

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1