[package]
edition = "2021"
name = "photon-ring"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-low-latency SPMC pub/sub using seqlock-stamped ring buffers. no_std compatible."
homepage = "https://github.com/userFRM/photon-ring"
documentation = "https://docs.rs/photon-ring"
readme = "README.md"
keywords = [
"pubsub",
"spmc",
"seqlock",
"no_std",
"zero-alloc",
]
categories = [
"concurrency",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/userFRM/photon-ring"
[features]
affinity = [
"std",
"dep:core_affinity",
]
default = [
"std",
"affinity",
]
std = []
[lib]
name = "photon_ring"
path = "src/lib.rs"
[[example]]
name = "market_data"
path = "examples/market_data.rs"
[[test]]
name = "correctness"
path = "tests/correctness.rs"
[[bench]]
name = "rdtsc_oneway"
path = "benches/rdtsc_oneway.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.core_affinity]
version = "0.8"
optional = true
[dependencies.hashbrown]
version = "0.16.1"
[dependencies.spin]
version = "0.10.0"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.disruptor]
version = "4.0.0"