rapace-transport-shm

Crates.iorapace-transport-shm
lib.rsrapace-transport-shm
version0.4.0
created_at2025-12-11 17:59:55.934451+00
updated_at2025-12-14 18:00:09.228321+00
descriptionShared memory transport for rapace (performance reference implementation)
homepage
repositoryhttps://github.com/bearcove/rapace
max_upload_size
id1980210
size285,967
Amos Wenger (fasterthanlime)

documentation

README

rapace-transport-shm

crates.io documentation MIT/Apache-2.0 licensed

Shared memory transport for rapace RPC.

This crate implements a transport on top of POSIX shared memory. It follows the layout described in the crate documentation (segment header, descriptor rings, and a data segment managed by a slab-style allocator).

Characteristics

  • single-writer/single-reader rings in each direction;
  • descriptors that point into a shared data segment;
  • optional SHM-backed allocation for callers that want to avoid extra copies;
  • Linux/Unix only (requires a POSIX-style shared memory API).

See the crate docs for details about the layout and configuration options.

Configuration

Enable the allocator feature for zero-copy SHM allocation:

rapace = { version = "0.1", features = ["shm"] }
rapace-transport-shm = { version = "0.1", features = ["allocator"] }

License

Licensed under either of:

at your option.

Commit count: 0

cargo fmt