libbpf-rs: add cargo_embargo.json and Android.bp

Add the necessary pieces to build libbpf-rs.

Bug: 359646531
Test: TH/Manual
Change-Id: I7c31f71f206266e7022720b60d7ab3111aa1b198
Signed-off-by: Neill Kapron <[email protected]>
3 files changed
tree: 9d107e4793f8212ff013f38bd89b0b1bccff3641
  1. .cargo/
  2. patches/
  3. src/
  4. tests/
  5. .cargo_vcs_info.json
  6. Android.bp
  7. build.rs
  8. Cargo.toml
  9. Cargo.toml.orig
  10. cargo_embargo.json
  11. CHANGELOG.md
  12. LICENSE
  13. LICENSE.BSD-2-Clause
  14. METADATA
  15. MODULE_LICENSE_BSD_LIKE
  16. OWNERS
  17. 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.