[package]
edition = "2024"
rust-version = "1.95"
name = "low-latency-data-structures"
version = "0.0.6"
authors = ["yawkar <yawkarpov@gmail.com>"]
build = false
include = [
"src/**/*.rs",
"examples/spsc/hello.rs",
"examples/spmc/hello.rs",
"examples/seqlock/hello.rs",
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Experimental lock-free SPSC, SPMC broadcast, and SeqLock primitives tuned for ultra-low-latency systems"
homepage = "https://github.com/YawKar/low-latency-data-structures"
documentation = "https://docs.rs/low-latency-data-structures"
readme = "README.md"
keywords = [
"lock-free",
"low-latency",
"spsc",
"spmc",
"seqlock",
]
categories = [
"concurrency",
"data-structures",
]
license = "MIT"
repository = "https://github.com/YawKar/low-latency-data-structures"
[package.metadata.docs.rs]
all-features = false
rustdoc-args = [
"--cfg",
"docsrs",
]
[package.metadata.bin.rustfmt-unstable]
version = "^1.0.0"
[features]
_bench_utils = []
default = []
tests_basic = []
tests_dhat = []
tests_hugepage = []
tests_loom = ["dep:loom"]
[lib]
name = "low_latency_data_structures"
path = "src/lib.rs"
[[bin]]
name = "smoke"
path = "src/bin/smoke.rs"
[[example]]
name = "seqlock_hello"
path = "examples/seqlock/hello.rs"
[[example]]
name = "spmc_hello"
path = "examples/spmc/hello.rs"
[[example]]
name = "spsc_hello"
path = "examples/spsc/hello.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.bon]
version = "3.9.3"
[dependencies.bytemuck]
version = "1.25.0"
[dependencies.core_affinity]
version = "0.8.3"
[dependencies.crossbeam-utils]
version = "0.8.22"
[dependencies.duplicate]
version = "2.0.1"
[dependencies.libc]
version = "0.2.186"
[dependencies.loom]
version = "0.7.2"
optional = true
[dependencies.quanta]
version = "0.12.6"
[dependencies.seq-macro]
version = "0.3.6"
[dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.dhat]
version = "0.3.3"
[dev-dependencies.hdrhistogram]
version = "7.5.4"
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"