Skip to content

Commit

Permalink
Adding workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rodoufu committed Jan 23, 2024
1 parent 111803a commit dd61963
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ members = [

[patch.crates-io]
serde = { path = "serde" }

[workspace.dependencies]
syn = "2.0.46"
quote = "1.0.35"
proc-macro2 = "1.0.74"
6 changes: 3 additions & 3 deletions serde_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ name = "serde_derive"
proc-macro = true

[dependencies]
proc-macro2 = "1.0.74"
quote = "1.0.35"
syn = "2.0.46"
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true }

[dev-dependencies]
serde = { version = "1", path = "../serde" }
Expand Down
6 changes: 3 additions & 3 deletions serde_derive_internals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ rust-version = "1.56"
path = "lib.rs"

[dependencies]
proc-macro2 = "1.0.74"
quote = "1.0.35"
syn = { version = "2.0.46", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true, default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down

0 comments on commit dd61963

Please sign in to comment.