#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

#18 in #away

Download history 107/week @ 2023-12-03 18/week @ 2023-12-10 38/week @ 2023-12-17 169/week @ 2023-12-24 271/week @ 2023-12-31 193/week @ 2024-01-07 47/week @ 2024-01-14 73/week @ 2024-01-21 223/week @ 2024-01-28 184/week @ 2024-02-04 89/week @ 2024-02-11 47/week @ 2024-02-18 74/week @ 2024-02-25 68/week @ 2024-03-03 4/week @ 2024-03-10 11/week @ 2024-03-17

158 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
~36K SLoC