[package]
edition = "2021"
name = "shmring"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fixed-capacity, single-producer/single-consumer byte ring buffer over shared memory (same wire format as the Go and JS implementations)"
homepage = "https://github.com/gofsd/shmring#rust"
readme = "README.md"
keywords = [
"shared-memory",
"ring-buffer",
"ipc",
"spsc",
]
categories = [
"concurrency",
"memory-management",
]
license = "MIT"
repository = "https://github.com/gofsd/shmring"
[lib]
name = "shmring"
path = "src/lib.rs"
[[example]]
name = "consumer"
path = "examples/consumer.rs"
[[example]]
name = "producer"
path = "examples/producer.rs"
[[test]]
name = "ringbuffer"
path = "tests/ringbuffer.rs"
[[test]]
name = "shm_ipc"
path = "tests/shm_ipc.rs"
[target."cfg(unix)".dependencies.libc]
version = "0.2"