1 unstable release
0.1.1 | Oct 21, 2024 |
---|---|
0.1.0 |
|
#1013 in Parser implementations
262 downloads per month
36KB
922 lines
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'sOfficialPuzzleType::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
Dependencies
~2.2–3.5MB
~65K SLoC