[package]
edition = "2021"
name = "mmap-sync"
version = "2.0.3"
authors = [
"Alex Bocharov <bocharov.alexandr@gmail.com>",
"Austin Hartzheim <ahartzheim@cloudflare.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust package allowing sharing of data between processes in a wait-free and zero-copy fashion from mapped memory."
readme = "README.md"
keywords = [
"memory-mapping",
"synchronization",
"interprocess",
"wait-free",
"zero-copy",
]
categories = [
"os",
"filesystem",
"concurrency",
"data-structures",
"memory-management",
]
license = "Apache-2.0"
repository = "https://github.com/cloudflare/mmap-sync"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "mmap_sync"
path = "src/lib.rs"
[[example]]
name = "reader"
path = "examples/reader.rs"
[[example]]
name = "writer"
path = "examples/writer.rs"
[[bench]]
name = "synchronizer"
path = "benches/synchronizer.rs"
harness = false
[dependencies.bytecheck]
version = "~0.6.8"
default-features = false
[dependencies.memmap2]
version = "0.9.4"
[dependencies.rkyv]
version = "0.7.40"
features = [
"validation",
"strict",
]
[dependencies.thiserror]
version = "1.0.30"
[dependencies.wyhash]
version = "0.5.0"
[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]
[dev-dependencies.pprof]
version = "0.15.0"
features = [
"flamegraph",
"protobuf-codec",
"criterion",
]
[dev-dependencies.proptest]
version = "1.0.0"
[dev-dependencies.rand]
version = "0.8.5"
[target."cfg(unix)".dependencies.libc]
version = "0.2.0"