Registry / other / pgn-reader

pgn-reader

JSON →
library0.29.0rscratesunverified

Fast non-allocating and streaming reader for chess games in PGN notation

# Cargo.toml [dependencies] pgn-reader = "0.29.0"
INSTALL
IMPORT
SIG · PGN-READER
P
pgn-reader
otherrustv0.29.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BufferedReader
use pgn_reader::BufferedReader;

Creates a buffered reader for PGN chess notation.

use pgn_reader::BufferedReader; fn main() { let pgn = "1. e4 e5 2. Nf3 Nc6"; let reader = BufferedReader::new(pgn.as_bytes()); println!("PGN reader created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.29.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pgn-reader — cargo add pgn-reader · libregistry