Skip to content

Commit

Permalink
Sort dependencies and features
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 4, 2023
1 parent c12b59d commit a36a1f7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ semver = { version = "1", features = ["serde"] }
serde = "1.0.88"
serde_derive = "1.0.88"
serde_json = "1.0.38"
syn = { version = "2", features = ["derive", "full", "parsing", "printing"], default-features = false }
syn-codegen = { path = "../json" }
syn = { version = "2", features = ["derive", "parsing", "printing", "full"], default-features = false }
thiserror = "1"
toml = "0.5"

Expand Down
4 changes: 2 additions & 2 deletions dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ name = "syn-dev"
quote = "1"

[dependencies.syn]
path = ".."
default-features = false
features = ["parsing", "full", "extra-traits", "proc-macro"]
features = ["extra-traits", "full", "parsing", "proc-macro"]
path = ".."
4 changes: 2 additions & 2 deletions examples/dump-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ colored = "2"
proc-macro2 = { version = "1", features = ["span-locations"] }

[dependencies.syn]
path = "../.."
default-features = false
features = ["parsing", "full", "extra-traits"]
features = ["extra-traits", "full", "parsing"]
path = "../.."
2 changes: 1 addition & 1 deletion examples/trace-var/trace-var/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ proc-macro = true
[dependencies]
proc-macro2 = { version = "1", features = ["nightly"] }
quote = "1"
syn = { path = "../../../", features = ["full", "fold"] }
syn = { path = "../../../", features = ["fold", "full"] }

0 comments on commit a36a1f7

Please sign in to comment.