wcif

Crates.iowcif
lib.rswcif
version0.1.1
sourcesrc
created_at2024-10-21 10:27:16.676149
updated_at2024-10-21 10:37:32.6505
descriptionA parser for the WCA Competition Interchange Format
homepage
repository
max_upload_size
id1417190
size36,950
Jonas Balsfulland (Jobarion)

documentation

README

wcif

This crate implements types for the WCA Competition Interchange Format. It closely follows the specification, parsing string values into more expressive types when possible.

Features

  • parse_puzzle_type Parse and verify puzzle and event types into an enum (i.e. instead of the string "333", it's OfficialPuzzleType::Cube333).
  • parse_attempt_result Results of attempts are stored as integers with some values having special meaning. This parses the integer into an enum.
  • parse_activity_code Parses activity code strings into a struct representing the activity code with individual fields for event, round, group and attempt.
  • groupifier Read extensions defined by Groupifier
Commit count: 0

cargo fmt