#go #baduk #weiqi #gtp #protocoll

nightly gorrosion-gtp

A best-effort strongly typed interface between Rust and GTP, the Go Text Protocoll

9 unstable releases

Uses old Rust 2015

0.5.0 Oct 19, 2024
0.4.1 Dec 16, 2018
0.3.0 Dec 15, 2018
0.2.1 Dec 12, 2018
0.1.2 Dec 10, 2018

#1014 in Parser implementations

Download history 10/week @ 2024-09-22 84/week @ 2024-10-13 104/week @ 2024-10-20 2/week @ 2024-10-27 4/week @ 2024-11-03

194 downloads per month

MIT/Apache

58KB
1.5K SLoC

Gorrosion

Maintenance Coverage status Crates.io Documentation

What is this?

An interface between the Go Text Protocoll (GTP) and the language Rust, in particular its type system. This library tries its best to offer a low-effort way of interacting with other GTP speakers through Rust without having to worry too much about types while still getting as much support from the type system as possible.

How does it work?

I'm not sure it does. Trying to make up for the lack of higher types with enums is an interesting experience, to say the least.

What are the alternatives?

Searching for “Go” on crates.io gives roughly a bazillion hits, most of them not about the game. So far, I was able to unearth only one crate with GTP support:

Its last update is over a year old and I fail to understand the philosophy behind the interface. This crate aimsaimed to surpass this competion in terms of both maintainedness and documentation quality.

Anything else you want to say?

  • This is a spin-off of Gorrosion, another Go themed crate.
  • One day in the future I might will probably won't write some useful documentation. Until then, feel free to e-mail me with questions. (Well, after then, too, but not before consulting the docs.)

Dependencies

~1MB
~17K SLoC