[package]
edition = "2021"
name = "picoring"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, zero-copy circular buffer for Rust using hardware memory mirroring."
readme = "README.md"
keywords = [
"ring-buffer",
"zero-copy",
"memory",
"performance",
"circular-buffer",
]
categories = [
"data-structures",
"os",
"embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yagizgil/picoring"
[features]
default = []
python = ["dep:pyo3"]
[lib]
name = "picoring"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[test]]
name = "benchmarks"
path = "tests/benchmarks.rs"
[[test]]
name = "collections_bench"
path = "tests/collections_bench.rs"
[[test]]
name = "ergonomics_bench"
path = "tests/ergonomics_bench.rs"
[[test]]
name = "full_scale_analysis"
path = "tests/full_scale_analysis.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "mpsc_performance"
path = "tests/mpsc_performance.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[test]]
name = "spsc_performance"
path = "tests/spsc_performance.rs"
[[test]]
name = "stress_test"
path = "tests/stress_test.rs"
[[test]]
name = "throughput_analysis"
path = "tests/throughput_analysis.rs"
[[bench]]
name = "ring_bench"
path = "benches/ring_bench.rs"
harness = false
[dependencies.libc]
version = "0.2.182"
[dependencies.pyo3]
version = "0.22"
features = [
"extension-module",
"abi3-py311",
]
optional = true
[dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_SystemInformation",
]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.sysinfo]
version = "0.33"
[profile.release]
opt-level = 3
lto = true
strip = true