Browse Source

Merge pull request #550 from aya-rs/dependabot/cargo/syn-2.0

build(deps): update syn requirement from 1.0 to 2.0
vadorovsky 1 year ago
parent
commit
3ad3cb9ed8

+ 1 - 1
aya-bpf-macros/Cargo.toml

@@ -10,7 +10,7 @@ proc-macro = true
 [dependencies]
 proc-macro2 = "1.0"
 quote = "1.0"
-syn = {version = "1.0", features = ["full"]}
+syn = {version = "2.0", features = ["full"]}
 
 [dev-dependencies]
 aya-bpf = { path = "../bpf/aya-bpf" }

+ 1 - 1
aya-log-ebpf-macros/Cargo.toml

@@ -8,7 +8,7 @@ aya-log-common = { path = "../aya-log-common" }
 aya-log-parser = { path = "../aya-log-parser" }
 proc-macro2 = "1.0"
 quote = "1.0"
-syn = "1.0"
+syn = "2.0"
 
 [lib]
 proc-macro = true

+ 1 - 1
test/integration-test-macros/Cargo.toml

@@ -7,7 +7,7 @@ publish = false
 [dependencies]
 quote = "1"
 proc-macro2 = "1.0"
-syn = {version = "1.0", features = ["full"]}
+syn = {version = "2.0", features = ["full"]}
 
 [lib]
 proc-macro = true

+ 1 - 1
xtask/Cargo.toml

@@ -8,7 +8,7 @@ edition = "2021"
 aya-tool = { path = "../aya-tool" }
 clap = { version = "4", features = ["derive"] }
 anyhow = "1"
-syn = "1"
+syn = "2"
 quote = "1"
 proc-macro2 = "1"
 indoc = "2.0"