#golang

go-away

Generates go types from rust types

6 releases (breaking)

0.5.0 Nov 2, 2021
0.4.0 Jul 16, 2021
0.3.0 Jul 2, 2021
0.2.0 Jun 6, 2021
0.1.1 May 26, 2021

#220 in FFI

MPL-2.0 license

57KB
1.5K SLoC

Go Away

Generate Go Types from Rust Types

Crate Info API Docs

Changelog

Overview

Go Away is a small library for generating go types & marshalling code from Rust type definitions. It's intended for use when you have existing rust code that is using serde for JSON serialization and you want to allow go services or clients to interact with that code.

It may be expanded to other languages at some point but it's mostly been built to service a very specific need and might never evolve past that.

Dependencies

~1.4–2MB
~46K SLoC