Skip to content

Commit

Permalink
minimize features of proc macro crates
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Aug 3, 2024
1 parent 62aaddb commit 7cec904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ pickledb = { version = "0.5.1", default-features = false }
predicates = "2.1"
pretty-hex = "0.3.0"
prio-graph = "0.2.1"
proc-macro2 = "1.0.86"
proc-macro2 = {version = "1.0.86", default-features = false }
proptest = "1.5"
prost = "0.11.9"
prost-build = "0.11.9"
Expand All @@ -303,7 +303,7 @@ qstring = "0.7.2"
qualifier_attr = { version = "0.2.2", default-features = false }
quinn = "0.10.2"
quinn-proto = "0.10.6"
quote = "1.0"
quote = { version = "1.0", default-features = false }
rand = "0.8.5"
rand_chacha = "0.3.1"
rayon = "1.10.0"
Expand Down Expand Up @@ -456,7 +456,7 @@ strum = "0.24"
strum_macros = "0.24"
subtle = "2.6.1"
symlink = "0.1.0"
syn = "2.0"
syn = { version = "2.0", default-features = false }
sys-info = "0.9.1"
sysctl = "0.4.6"
systemstat = "0.2.3"
Expand Down
6 changes: 3 additions & 3 deletions sdk/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ proc-macro = true

[dependencies]
bs58 = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true, features = ["full"] }
proc-macro2 = { workspace = true, default-features = false }
quote = { workspace = true, default-features = false }
syn = { workspace = true, default-features = false }

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

0 comments on commit 7cec904

Please sign in to comment.