added IntoOwned trait and derive macro

This commit is contained in:
TotallyNot 2023-10-10 19:58:15 +02:00
parent 055900d3e0
commit 9b41a9844f
8 changed files with 268 additions and 107 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "torn-api-macros"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["Pyrit [2111649]"]
license = "MIT"
@ -12,7 +12,7 @@ description = "Macros implementation of #[derive(ApiCategory)]"
proc-macro = true
[dependencies]
syn = { version = "1", features = [ "extra-traits" ] }
syn = { version = "2", features = [ "parsing" ] }
proc-macro2 = "1"
quote = "1"
convert_case = "0.5"