Rust Portable Game Notation.
A crate for parsing a PGN, built on shakmaty
and pgn-reader
.
pgn-reader
only allows you to read individual, untyped parts of the PGN, but doesn't actually parse it into something useful.
This crate parses a PGN into the Pgn
struct.
You may also be interested in using the Variation
struct if you need to process chess variations. It's included to process PGN movelists, but can be used standalone.