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
Popular compatible crates
Missing a popular crate? Check if a issue for this exists, and if not create one!
-
chrono -
time -
uuid -
bigdecimal -
num-bigint -
num-bigfloat -
rust_decimal -
decimal -
url -
bytes -
dashmap -
indexmap -
smallvec
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