native-ipc-core
Platform-neutral, pointer-free wire formats, checked shared-memory layouts,
publication sequencing, and mapping-owned reader/writer bindings for
native-ipc.
This crate is useful when implementing a custom transport or protocol. Most
applications should depend on native-ipc, which combines these primitives
with native capability enforcement.
Main modules
codec: fixed-width envelopes, bounded decoding, and protocol traits.layout: canonical multi-region layouts and hostile-memory validation.mapping: mapping-owned runtime regions that prevent duplicate safe writer binding.slot: release/acquire publication, snapshot rechecks, and acknowledgements.
Layout example
use ;
let producer = new.unwrap;
let peer = new.unwrap;
let regions = ;
let routes = ;
let topology = calculate?;
assert_eq!;
# Ok::
Complete examples:
The crate supports no_std with allocation by disabling the default std
feature.
Licensed under MIT or Apache-2.0.