#go #generate #type #away #derive #go-away

macro go-away-derive

Derives for go-away, which 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

#19 in #away

38 downloads per month
Used in go-away

MPL-2.0 license

18KB
372 lines

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.5MB
~38K SLoC