Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ edition = "2018"
[dependencies]
indexmap = "1"
grammer = "0.0.1"
proc-macro2 = "0.4.30"
proc-quote = "0.2.2"
proc-macro2 = "1.0.6"
proc-quote = "0.3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These versions are not compatible, you can see it in the Travis CI build log:

   Compiling proc-macro2 v0.4.30
   Compiling proc-macro2 v1.0.6

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why -- proc-quote 0.3 depends on proc-macro2 ^1.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you try to build this locally, Cargo.lock should tell you where the two versions come from.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, cargo tree -p proc-macro2 -i should show exactly where it comes from.


[build-dependencies]
indexmap = "1"
grammer = "0.0.1"
proc-macro2 = "0.4.30"
proc-quote = "0.2.2"
proc-macro2 = "1.0.6"
proc-quote = "0.3.0"

[lib]
doctest = false
test = false

[patch.'crates-io']
grammer = { git = "https://github.com/lykenware/grammer", rev = "eecb1b16cd234408d066fabec63786003925452d" }
grammer = { git = "https://github.com/lykenware/grammer", rev = "7850625d06e5f838cd175c109c29642a1bbfa500" }

[workspace]
members = [
Expand Down