- Added `vanth_derive` crate with a procedural macro to automatically implement the `Vanth` trait for structs, including generics. - Refactored `vanth` crate by removing obsolete `vanth.rs` file. - Implemented `PartialEq` for `Ty` to enable comparisons with string values and another `Ty`. - Added integration tests for deriving `Vanth` with generic parameters. - Updated dependencies: added `quote`, `syn`, and `proc-macro2` crates.
12 lines
No EOL
195 B
TOML
12 lines
No EOL
195 B
TOML
[package]
|
|
name = "vanth_derive"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
quote.workspace = true
|
|
syn.workspace = true
|
|
proc-macro2.workspace = true |