Ronky - A simple way to export Rust definitions
This library allows you to extract Rust types and serialize them into Arri types.
🚧 This is still under development, features such as object serialisation and de serialisation will be coming soon. 🚧
Features (exporting only for now)
- Compile time errors and integration with Rust analyzer
- Type schema form (and their associated types)
- Enum schema form
- Elements (vectors) schema form
- Properties (structs) schema form (including optional properties)
- Strict mode
- Discriminator (tagged unions/enums with fields) schema form
- Ref schema form (for circular references)
- isNullable keyword
- metadata keyword (includes: id, description, isDeprecated, deprecatedNote, deprecatedSince)
- Values schema form (for maps)
- See which Arri schema version is being used
Feature(s) that will never be implemented
- Empty schema form, this is something that should never be used in Rust code anyway and is greatly a sign of bad code and a common source for bugs.
Example Usage
You can find examples in the ./examples/ directory.
In memory of Ronky
In loving memory of my dear cat Ronky, named for his unique habit of spinning very loud (to "ronk" in Dutch). Ronky lived to the age of 14 and bravely endured acromegaly.
He passed away peacefully, surrounded by those who loved him. He will be deeply missed.

Photo by Startshot