parsely-rs 0.1.6

Macro-based struct serialization/deserialization
Documentation
1
2
3
4
5
6
7
8
use parsely_rs::*;

#[derive(ParselyRead)]
#[parsely_read(required_context("some_context_value: u8"))]
struct ReadContext {
    #[parsely_read(assign_from = "some_context_value")]
    one: u8,
}