mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 22:18:12 +08:00
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:
@@ -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"
|
||||
Reference in New Issue
Block a user