Skip to content

Commit

Permalink
Restrict syn features for in-tree components
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Sep 27, 2019
1 parent 0495278 commit 423cb12
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions components/config_plugins/Cargo.toml
Expand Up @@ -12,8 +12,7 @@ proc-macro = true
path = "lib.rs"

[dependencies]
syn = "0.15"
syn = { version = "0.15", default-features = false, features = ["clone-impls", "parsing"] }
quote = "0.6"
proc-macro2 = "0.4"
itertools = "0.8"

2 changes: 1 addition & 1 deletion components/deny_public_fields/Cargo.toml
Expand Up @@ -11,5 +11,5 @@ path = "lib.rs"
proc-macro = true

[dependencies]
syn = "0.15"
syn = { version = "0.15", default-features = false, features = ["derive", "parsing"] }
synstructure = "0.10"
2 changes: 1 addition & 1 deletion components/derive_common/Cargo.toml
Expand Up @@ -12,5 +12,5 @@ path = "lib.rs"
darling = "0.9"
proc-macro2 = "0.4"
quote = "0.6"
syn = { version = "0.15", features = ["visit"] }
syn = { version = "0.15", default-features = false, features = ["clone-impls", "parsing"] }
synstructure = "0.10"
2 changes: 1 addition & 1 deletion components/dom_struct/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ version = "0.0.1"

[dependencies]
quote = "0.6.3"
syn = { version = "0.15", features = ["full"] }
syn = { version = "0.15", default-features = false, features = ["clone-impls", "parsing"] }

[lib]
path = "lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion components/domobject_derive/Cargo.toml
Expand Up @@ -12,5 +12,5 @@ proc-macro = true

[dependencies]
proc-macro2 = "0.4"
syn = "0.15"
syn = { version = "0.15", default-features = false, features = ["clone-impls", "derive", "parsing"] }
quote = "0.6"
2 changes: 1 addition & 1 deletion components/jstraceable_derive/Cargo.toml
Expand Up @@ -12,5 +12,5 @@ proc-macro = true

[dependencies]
proc-macro2 = "0.4"
syn = "0.15"
syn = { version = "0.15", default-features = false, features = ["clone-impls", "derive", "parsing"] }
synstructure = "0.10"
2 changes: 1 addition & 1 deletion components/style_derive/Cargo.toml
Expand Up @@ -14,5 +14,5 @@ darling = "0.9"
derive_common = { path = "../derive_common" }
proc-macro2 = "0.4"
quote = "0.6"
syn = { version = "0.15", features = ["visit"] }
syn = { version = "0.15", default-features = false, features = ["clone-impls", "derive", "parsing"] }
synstructure = "0.10"
2 changes: 1 addition & 1 deletion components/to_shmem_derive/Cargo.toml
Expand Up @@ -14,5 +14,5 @@ darling = "0.9"
derive_common = { path = "../derive_common" }
proc-macro2 = "0.4"
quote = "0.6"
syn = { version = "0.15", features = ["visit"] }
syn = { version = "0.15", default-features = false, features = ["derive", "parsing"] }
synstructure = "0.10"

0 comments on commit 423cb12

Please sign in to comment.