Skip to content

Commit

Permalink
Merge pull request #118 from kunai-project/fix-ci-build
Browse files Browse the repository at this point in the history
fix: issue with CI build due to latest Aya release
  • Loading branch information
qjerome authored Oct 12, 2024
2 parents 29ce703 + 51404a7 commit f16ac9b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion kunai-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ thiserror = { version = "1.0", optional = true }
kunai-macros = { path = "src/kunai-macros" }
# Aya deps
aya = { version = "0.12.0", optional = true }
aya-ebpf = { version = "0.1.0" }
# we fix version including patch as some APIs got changed
# it is a temporary solutio until aya gets updated
aya-ebpf = { version = "=0.1.0" }

[dev-dependencies]
# Non Aya deps
Expand Down
9 changes: 8 additions & 1 deletion kunai-ebpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ publish = false
debug = []

[dependencies]
aya-ebpf = { version = "0.1.0" }
# we fix version including patch as some APIs got changed
# it is a temporary solutio until aya gets updated
aya-ebpf = { version = "=0.1.0" }
# this imports needs to be there otherwise
# aya-ebpf will use 0.1.1 by default (breaking API
# compatibility). Can be removed if aya-ebpf gets
# updated.
aya-ebpf-macros = { version = "=0.1.0" }
kunai-common = { path = "../kunai-common" }
kunai-macros = { path = "../kunai-common/src/kunai-macros" }
paste = "1.0"
Expand Down

0 comments on commit f16ac9b

Please sign in to comment.