Crates.io | wcif |
lib.rs | wcif |
version | 0.1.1 |
source | src |
created_at | 2024-10-21 10:27:16.676149 |
updated_at | 2024-10-21 10:37:32.6505 |
description | A parser for the WCA Competition Interchange Format |
homepage | |
repository | |
max_upload_size | |
id | 1417190 |
size | 36,950 |
This crate implements types for the WCA Competition Interchange Format. It closely follows the specification, parsing string values into more expressive types when possible.
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