Expand description
Monocoque Core
This crate contains the runtime-agnostic core building blocks:
- Pinned / io_uring-safe allocation (
alloc) - Zero-copy segmented buffer (
buffer) - TCP utilities for high-performance networking (
tcp) - ROUTER hub + peer map (
router) - PUB/SUB core (subscription index + hub) (
pubsub) - Byte-based backpressure (
backpressure) - Error types (
error)
Modulesยง
- alloc
- Allocation primitives for Monocoque
- backpressure
- Backpressure:
BytePermits - buffer
- config
- ZMTP configuration and buffer sizing
- endpoint
- Endpoint abstraction for transport-agnostic socket addressing.
- error
- inproc
- In-process transport for zero-copy messaging within the same process.
- ipc
- IPC transport via Unix domain sockets.
- message
- Message builder for ergonomic multipart message construction.
- message_
builder - Ergonomic message builder for constructing
ZeroMQmultipart messages. - monitor
- Socket event monitoring.
- options
- Socket configuration options
- poison
- RAII guard for protecting against partial I/O corruption in async contexts.
- prelude
- pubsub
- reconnect
- Reconnection utilities with exponential backoff support.
- router
- ROUTER Hub (Phase 2.1)
- socket_
type - Socket type enumeration for
ZeroMQsocket types. - subscription
- Subscription trie for efficient topic matching in XPUB/XSUB/SUB sockets.
- tcp
- TCP utilities for high-performance networking.
- timeout
- Timeout utilities for I/O operations