v0.22.0
·
683 commits
to refs/heads/master
since this release
What's Changed
libbpf-rs
- Reworked
Errortype:- Replaced
enumwith data variants withstructhiding internal structure - Added support for chaining of errors
- Overhauled how errors are displayed
- Replaced
- Overhauled
query::ProgramInfoandquery::ProgInfoIterto make them more readily usable - Added
Btf::from_vmlinuxconstructor and adjustedBtf::from_pathto work with both raw and ELF files - Reworked
ObjectBuilder:- Made
namemethod fallible - Adjusted
optsto return a reference tolibbpf_sys::bpf_object_open_opts - Removed object name argument from
open_memoryconstructor - Added
pin_root_pathsetter
- Made
- Added
AsRawLibbpftrait as a unified way to retrievelibbpfequivalents forlibbpf-rsobjects - Added
Map::update_batchmethod - Implemented
SendforLink - Bumped minimum Rust version to
1.65 - Updated
bitflagsdependency to2.0
libbpf-cargo
- Adjusted skeleton creation logic to generate shared and exclusive datasec accessor functions
- Removed
Errorenum in favor ofanyhow::Error - Bumped minimum Rust version to
1.65
New Contributors
Full Changelog: v0.21.2...v0.22.0