Import 'libbpf-rs' crate v0.24.2

Request Document: go/android-rust-importing-crates
For CL Reviewers: go/android3p#cl-review
For Build Team: go/ab-third-party-imports
Bug: 360116764
Bug: 359646531
Test: none

Change-Id: I567d104d028eeb63a1b9f3bfd57c60d93ed48ffb
Signed-off-by: Neill Kapron <[email protected]>
52 files changed
tree: cc1b8a182b4c3e6043fd655daceda426c8c3697f
  1. .cargo/
  2. src/
  3. tests/
  4. .cargo_vcs_info.json
  5. build.rs
  6. Cargo.toml
  7. Cargo.toml.orig
  8. CHANGELOG.md
  9. LICENSE
  10. LICENSE.BSD-2-Clause
  11. METADATA
  12. MODULE_LICENSE_BSD_LIKE
  13. OWNERS
  14. README.md
README.md

CI rustc

libbpf-rs

crates.io badge

Idiomatic Rust wrapper around libbpf.

To use in your project, add into your Cargo.toml:

[dependencies]
libbpf-rs = "0.24"

See full documentation here.

This crate adheres to Cargo's semantic versioning rules. At a minimum, it builds with the most recent Rust stable release minus five minor versions (“N - 5”). E.g., assuming the most recent Rust stable is 1.68, the crate is guaranteed to build with 1.63 and higher.

Contributing

We welcome all contributions! Please see the contributor's guide for more information.