structio 0.8.0

High performance JSON and BEVE for Rust structs. No dependencies, no proc-macros, no intermediate representation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Gauge {
    label: String,
}

structio::object!(write_only Gauge { label | "name" });

enum Level {
    Low,
}

structio::unit_enum!(write_only Level { Low | "low" });

fn main() {}