partial_struct 0.1.0

A proc-macro crate that generates partial versions of Rust structs. Specify omitted fields and custom derives via attributes, then use the generated conversion method to build the full struct.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[package]
name = "partial_struct"
version = "0.1.0"
edition = "2021"
authors = ["Esteban <estebanmff@outlook.com>"]
license = "MIT OR Apache-2.0"
description = "A proc-macro crate that generates partial versions of Rust structs. Specify omitted fields and custom derives via attributes, then use the generated conversion method to build the full struct."
keywords = ["struct", "partial", "estructure"]


[lib]
proc-macro = true

[dependencies]
heck = "0.5.0"
proc-macro2 = "1.0.93"
quote = "1.0.38"
syn = { version = "2.0.98", features = ["full"] }