gorrosion-gtp 0.2.1

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


Build status 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 aims 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 write some useful documentation. Until then, feel free to e-mail me with questions. (Well, after then, too, but not before consulting the docs.)