Important
There is no stable shapely API as of now (even though it's >1.0.0). The design is very much still being explored.
Expect multiple major versions in the near future — (note left 2025-03-11)
A Rust reflection, introspection, serialization and deserialization framework with support for multiple formats including JSON, YAML, MessagePack, URL-encoded data, and more.
A single, lightweight derive macro (thanks to unsynn)
#[derive(Shapely)]
struct Blah {
foo: u32,
bar: String,
}
...gives you the equivalent of Debug
, Serialize
, Deserialize
, and more.
shapely's approach is halfway between serde and bevy_reflect
See the shapely README for more info.
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.