Crate maelbreaker

source ·

Modules

  • https://github.com/jepsen-io/maelstrom/blob/main/doc/protocol.md#errors
  • Defines the Network struct and implementation
  • Defines the Node trait
  • Defines the runtime for a Maelstrom node
  • Common type definitions for messages, as well as helper types and functions used throughout the crate

Macros

  • Helper macro to derive the necessary traits on an enum to implement Payload. also marks the enum with serde attributes to type-tag and rename as snake_case