Skip to content

Commit

Permalink
Merge pull request #33 from cuviper/no-syn-v1
Browse files Browse the repository at this point in the history
Disable the syn v1 dependency of proc-macro-error
  • Loading branch information
dhardy authored Aug 10, 2023
2 parents 0bc7248 + 32c5d4e commit e0c8012
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ documentation = "https://docs.rs/impl-tools/"
[lib]
proc-macro = true

[dependencies]
proc-macro-error = "1.0"
[dependencies.proc-macro-error]
version = "1.0"
default-features = false

[dependencies.syn]
version = "2.0.0"
Expand Down
7 changes: 5 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ documentation = "https://docs.rs/impl-tools-lib/"

[dependencies]
quote = "1.0"
proc-macro2 = { version = "1.0" }
proc-macro-error = "1.0"
proc-macro2 = "1.0"

[dependencies.proc-macro-error]
version = "1.0"
default-features = false

[dependencies.syn]
version = "2.0.0"
Expand Down

0 comments on commit e0c8012

Please sign in to comment.