Module maelstrom_client::spec

source ·
Expand description

Provide utilities for evaluating job specification directives.

The job specification directives for cargo-maelstrom and the CLI differ in a number of ways, but also have a number of similar constructs. This module includes utilities for those similar constructs.

Modules§

Structs§

Enums§

  • An enum and struct (EnumSet<ImageUse>) used for deserializing “image use” statements in JSON, TOML, or other similar formats. This allows users to specify things like use = ["layers", "environment"] in TOML, or the equivalent in JSON.
  • An enum that indicates whether a value is explicitly specified, or implicitly defined to be the value inherited from an image.

Traits§

Functions§