Crate maelbreaker

source ·


  • 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


  • 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