Skip to main content

Crate monocoque_core

Crate monocoque_core 

Source
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 ZeroMQ multipart 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 ZeroMQ socket 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