Add proc macros for Hint and edge (#63)

* Add proc-macro crate with two macros

* Let cargo recalculate the Cargo.lock

* Add tests and refactor some code to allow testing

also the impl for parse_hint_helper_attrs now preserves order
(which is essential for testing)
This commit is contained in:
T0mstone
2021-04-07 13:51:33 +02:00
committed by GitHub
parent b7f18dfaa8
commit 5f565aeb74
8 changed files with 539 additions and 28 deletions
+19
View File
@@ -0,0 +1,19 @@
[package]
name = "graphite-proc-macros"
version = "0.1.0"
authors = ["Graphite Authors <contact@graphite.design>"]
edition = "2018"
publish = false
[lib]
path = "src/lib.rs"
proc-macro = true
[dependencies]
proc-macro2 = "1.0.26"
syn = "1.0.68"
quote = "1.0.9"
[dev-dependencies.editor-core]
path = "../editor"
package = "graphite-editor-core"