Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2026

Bumps libbpf-rs from 0.21.2 to 0.25.0.

Release notes

Sourced from libbpf-rs's releases.

v0.25.0

What's Changed

libbpf-rs

  • Added kprobe multi support for attaching programs, with and without providing additional options
  • Added Program::attach_perf_event_with_opts for attaching to perf events with additional options
  • Allow to provide additional options when attaching programs to raw tracepoints
  • Allow to provide additional options when attaching programs to kprobes
  • Introduced TracepointCategory enum for specifying tracepoint categories
  • Added max_entries getter to various map types
  • Added OpenProgramMut::set_autoattach
  • Added additional ProgramAttachType and query::LinkTypeInfo variants
  • Adjusted UprobeOpts::func_name to be an Option
  • Implemented Sync for Link
  • Updated libbpf-sys dependency to 1.5.0
  • Added ProgramInput::repeat field to run a test multiple times
  • Added ProgramOutput::duration field which represent the average duration per repetition
  • Added RingBuffer::consume_raw_n method to consume up to N items

libbpf-cargo

  • Adjusted all <xxx>_data BPF map skeleton members to be Options
  • Adjusted numbering of generated Rust structs for anonymous C types to be less fragile in the presence of type additions
  • Removed SkeletonBuilder::skip_clang_version_check and SkeletonBuilder::debug
  • Removed --skip-clang-version-checks option of libbpf build sub-command
  • Replaced --debug option of libbpf sub-command with -v / --verbose
    • Removed --quiet option of libbpf make sub-command
  • Replaced CompilationOutput type with tracing based solution using newly added util::CargoWarningFormatter
  • Fixed handling of multiple types of same name in BTF by enumerating them in the generated skeleton
  • Bumped minimum Rust version to 1.78

New Contributors

Full Changelog: libbpf/libbpf-rs@v0.25.0-beta.1...v0.25.0

v0.25.0-beta.1

What's Changed

libbpf-rs

  • Adjusted btf::types::EnumMember to store value as i64
  • Adjusted btf::types::Enum64Member to store value as i128

libbpf-cargo

  • Fixed skeleton generation when enum64 types are present

... (truncated)

Commits
  • cd40641 Release 0.25.0
  • c661aa8 Add CHANGELOG entry for #1178
  • 25ec689 build(deps): bump clap from 4.5.38 to 4.5.39
  • 08563a6 libbpf-cargo: Relative anonymous type naming
  • 8ccbf65 libbpf-cargo: Fix broken tests for 3a9e1d5
  • eaf168f libbpf-cargo: Relative anonymous type naming for struct fields
  • fb11849 Introduce example showing how to surface compiler warnings
  • af7021d libbpf-cargo: Log compiler output
  • 8287605 libbpf-cargo: Introduce util::CargoWarningFormatter
  • 15d9b8c libbpf-cargo: Remove CompilationOutput
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jan 12, 2026
@dependabot dependabot bot force-pushed the dependabot/cargo/libbpf-rs-0.25.0 branch from 70a6837 to 68d8d9f Compare January 14, 2026 09:19
Bumps [libbpf-rs](https://github.com/libbpf/libbpf-rs) from 0.21.2 to 0.25.0.
- [Release notes](https://github.com/libbpf/libbpf-rs/releases)
- [Commits](libbpf/libbpf-rs@v0.21.2...v0.25.0)

---
updated-dependencies:
- dependency-name: libbpf-rs
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/libbpf-rs-0.25.0 branch from 68d8d9f to b5756c7 Compare January 19, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants