This adds a macro that helps deserialize structs when their properties & types are known ahead of time. It's sole job is gluing different binrw macros together so I don't have to. The nice thing about this is that you have more direct access to the underlying data.
11 lines
166 B
TOML
11 lines
166 B
TOML
[package]
|
|
name = "paramacro"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
syn = { version = "2.0", features = ["full"] }
|
|
quote = "1.0"
|
|
|
|
[lib]
|
|
proc-macro = true
|