[package]
edition = "2021"
rust-version = "1.87"
name = "crossbar"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy pub/sub over shared memory. URI-addressed. O(1) transfer at any payload size."
readme = "README.md"
keywords = [
"ipc",
"shared-memory",
"pubsub",
"zero-copy",
"low-latency",
]
categories = [
"network-programming",
"concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/userFRM/crossbar"
[features]
default = ["std"]
ffi = ["std"]
std = [
"libc",
"windows-sys",
]
[lib]
name = "crossbar"
path = "src/lib.rs"
[[example]]
name = "pinned_throughput"
path = "examples/pinned_throughput.rs"
[[example]]
name = "publisher"
path = "examples/publisher.rs"
[[example]]
name = "subscriber"
path = "examples/subscriber.rs"
[[test]]
name = "channel"
path = "tests/channel.rs"
[[test]]
name = "multi_publisher"
path = "tests/multi_publisher.rs"
[[test]]
name = "pod_bus"
path = "tests/pod_bus.rs"
[[test]]
name = "pubsub"
path = "tests/pubsub.rs"
[[test]]
name = "typed_pubsub"
path = "tests/typed_pubsub.rs"
[[bench]]
name = "pod_bus"
path = "benches/pod_bus.rs"
harness = false
[[bench]]
name = "pubsub"
path = "benches/pubsub.rs"
harness = false
[dev-dependencies.criterion]
version = "0.8.2"
[target."cfg(unix)".dependencies.libc]
version = "0.2.183"
optional = true
[target."cfg(unix)".dev-dependencies.iceoryx2]
version = "0.8.1"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_IO",
"Win32_System_Memory",
"Win32_System_Threading",
"Win32_Storage_FileSystem",
]
optional = true