🧪♻️ vanth, vanth_derive: Add derive macro for Vanth trait implementation

- 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.
This commit is contained in:
Markus Scully 2025-08-05 14:51:29 +03:00
parent 94105daca1
commit b36f178999
Signed by: mascully
GPG key ID: 93CA5814B698101C
9 changed files with 119 additions and 23 deletions

View file

@ -15,3 +15,6 @@ serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
digest = "0.10.7"
blake3 = { version = "1.8.2", features = ["traits-preview"] }
quote = "1.0"
syn = { version = "2.0", features = ["full"] }
proc-macro2 = "1.0"