8 releases (5 breaking)

new 0.6.1 Jun 13, 2025
0.6.0 Jun 12, 2025
0.5.0 Nov 2, 2021
0.4.0 Jul 16, 2021
0.1.1 May 26, 2021

#2362 in Procedural macros

Download history 32/week @ 2025-02-19 6/week @ 2025-02-26 5/week @ 2025-03-12 21/week @ 2025-03-26 51/week @ 2025-04-02 57/week @ 2025-04-09 5/week @ 2025-04-30 48/week @ 2025-05-07 26/week @ 2025-05-14 78/week @ 2025-05-21 44/week @ 2025-05-28 46/week @ 2025-06-04

208 downloads per month
Used in 2 crates (via go-away-derive)

MPL-2.0 license

17KB
374 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
~40K SLoC