v0.22.0
·
557 commits
to refs/heads/master
since this release
What's Changed
libbpf-rs
- Reworked
Error
type:- Replaced
enum
with data variants withstruct
hiding internal structure - Added support for chaining of errors
- Overhauled how errors are displayed
- Replaced
- Overhauled
query::ProgramInfo
andquery::ProgInfoIter
to make them more readily usable - Added
Btf::from_vmlinux
constructor and adjustedBtf::from_path
to work with both raw and ELF files - Reworked
ObjectBuilder
:- Made
name
method fallible - Adjusted
opts
to return a reference tolibbpf_sys::bpf_object_open_opts
- Removed object name argument from
open_memory
constructor - Added
pin_root_path
setter
- Made
- Added
AsRawLibbpf
trait as a unified way to retrievelibbpf
equivalents forlibbpf-rs
objects - Added
Map::update_batch
method - Implemented
Send
forLink
- Bumped minimum Rust version to
1.65
- Updated
bitflags
dependency to2.0
libbpf-cargo
- Adjusted skeleton creation logic to generate shared and exclusive datasec accessor functions
- Removed
Error
enum in favor ofanyhow::Error
- Bumped minimum Rust version to
1.65
New Contributors
Full Changelog: v0.21.2...v0.22.0