Browse Source

Merge pull request #710 from ajwerner/move-rustversion-to-workspace

bpf: move rustversion build dep to workspace
ajwerner 1 year ago
parent
commit
afacfddd8b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Cargo.toml
  2. 1 1
      bpf/aya-bpf/Cargo.toml

+ 1 - 0
Cargo.toml

@@ -82,6 +82,7 @@ quote = { version = "1", default-features = false }
 rbpf = { version = "0.2.0", default-features = false }
 rustdoc-json = { version = "0.8.6", default-features = false }
 rustup-toolchain = { version = "0.1.5", default-features = false }
+rustversion = { version = "1.0.0", default-features = false }
 syn = { version = "2", default-features = false }
 tempfile = { version = "3", default-features = false }
 testing_logger = { version = "0.1.1", default-features = false }

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

@@ -10,4 +10,4 @@ aya-bpf-macros = { path = "../../aya-bpf-macros" }
 aya-bpf-bindings = { path = "../aya-bpf-bindings" }
 
 [build-dependencies]
-rustversion = "1.0"
+rustversion = { workspace = true }