Skip to content

chore(deps): update aya crates and all dependencies - #170

Merged
beneiltis merged 1 commit into
mainfrom
chore/update-all-deps
Nov 13, 2026
Merged

beneiltis merged 1 commit into
mainfrom
chore/update-all-deps

Conversation

@beneiltis

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the aya crate family together (they only build as a matching set):
    • aya 0.14.0 → 0.16.0
    • aya-ebpf 0.2.0 → 0.3.0
    • aya-log-ebpf 0.2.0 → 0.3.0
    • aya-build 0.2.0 → 0.2.1
  • cargo update for all remaining semver-compatible dependencies (tokio, serde, clap, libc, …). No other crate has a newer major version.
  • Adapts to the aya 0.16 API break: interfaces are now passed as NetworkInterface (&CStr or index) instead of &str. The interface name is converted to a CString once in initialize_ebpf_for_interface and passed to the XDP/TC attach helpers.

Supersedes #162, #164, #165 (they fail CI individually because the aya crates must be updated together).

Test plan

Run locally in the CI builder image (docker build --target builder):

  • cargo fmt --check
  • cargo clippy --package snoopy --target x86_64-unknown-linux-musl -- -D warnings
  • cargo test --package snoopy (5 passed)
  • cargo zigbuild --package snoopy --release --target x86_64-unknown-linux-musl
  • Runtime smoke test on a node (XDP/TC attach) — not done locally

🤖 Generated with Claude Code

- aya 0.14.0 -> 0.16.0
- aya-ebpf 0.2.0 -> 0.3.0
- aya-log-ebpf 0.2.0 -> 0.3.0
- aya-build 0.2.0 -> 0.2.1
- cargo update for all remaining (semver-compatible) dependencies

aya 0.16 takes interface names as `&CStr` (via `NetworkInterface`)
instead of `&str`, so the interface name is converted to a `CString`
once and passed down to the XDP/TC attach helpers.

The aya crates have to be bumped together, which is why the separate
Renovate PRs fail on their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@beneiltis
beneiltis merged commit ede0f28 into main Nov 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant