move event parsing to derive macros

This commit is contained in:
Robin Appelman 2023-03-05 22:31:48 +01:00
commit 14c1fbe0d9
13 changed files with 591 additions and 460 deletions

17
derive/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "tf-log-parser-derive"
version = "0.1.0"
edition = "2021"
[lib]
name = "tf_log_parser_derive"
proc-macro = true
[dependencies]
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
syn_util = "0.4"
[dev-dependencies]
tf-log-parser = { version = "0.1", path = ".." }