ringfire 0.5.2

Zero-copy lock-free inter-process communication (IPC) ring buffer and shared memory bus in Rust, with ring mirroring across hosts
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.5.2"
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, with ring mirroring across hosts"
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"

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "harness_support_tests"
path = "tests/harness_support_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 = "replication_blob_tests"
path = "tests/replication_blob_tests.rs"

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

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

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

[[test]]
name = "replication_unicast_tests"
path = "tests/replication_unicast_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.serde_json]
version = "1"

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

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