Skip to content

Commit

Permalink
deps: disable proc-macro-error default features
Browse files Browse the repository at this point in the history
proc-macro-error has an optional dependency on syn@1 whereas much of the
ecosystem has migrated to syn@2, resulting in dependents of test-case
having to compile syn twice. This avoids that by removing the optional
dependency.
  • Loading branch information
tamird committed Oct 10, 2023
1 parent 24b4537 commit 82882f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/test-case-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ path = "src/lib.rs"
[dependencies]
cfg-if = "1.0"
proc-macro2 = { version = "1.0", features = [] }
proc-macro-error = "1.0"
proc-macro-error = { version = "1.0", default-features = false }
quote = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits"] }
2 changes: 1 addition & 1 deletion crates/test-case-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ path = "src/lib.rs"

[dependencies]
proc-macro2 = { version = "1.0", features = [] }
proc-macro-error = "1.0"
proc-macro-error = { version = "1.0", default-features = false }
quote = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits", "parsing"] }
test-case-core = { version = "3.2.1", path = "../test-case-core", default-features = false }

0 comments on commit 82882f0

Please sign in to comment.