Fix workspace.dependencies default-features future compat warning
warning: serde_derive_internals/Cargo.toml: `default-features` is ignored for syn, since `default-features` was not specified for `workspace.dependencies.syn`, this could become a hard error in the future
This commit is contained in:
parent
aecb4083bd
commit
29d9f69399
@ -10,6 +10,6 @@ members = [
|
|||||||
serde = { path = "serde" }
|
serde = { path = "serde" }
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
proc-macro2 = "1.0.74"
|
proc-macro2 = { version = "1.0.74", default-features = false }
|
||||||
quote = "1.0.35"
|
quote = { version = "1.0.35", default-features = false }
|
||||||
syn = "2.0.46"
|
syn = { version = "2.0.46", default-features = false }
|
||||||
|
@ -21,9 +21,9 @@ name = "serde_derive"
|
|||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2 = { workspace = true, features = ["proc-macro"] }
|
||||||
quote = { workspace = true }
|
quote = { workspace = true, features = ["proc-macro"] }
|
||||||
syn = { workspace = true }
|
syn = { workspace = true, features = ["clone-impls", "derive", "parsing", "printing", "proc-macro"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde = { version = "1", path = "../serde" }
|
serde = { version = "1", path = "../serde" }
|
||||||
|
@ -17,7 +17,7 @@ path = "lib.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2 = { workspace = true }
|
||||||
quote = { workspace = true }
|
quote = { workspace = true }
|
||||||
syn = { workspace = true, default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] }
|
syn = { workspace = true, features = ["clone-impls", "derive", "parsing", "printing"] }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
Loading…
Reference in New Issue
Block a user