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]>
Idiomatic Rust wrapper around libbpf.
To use in your project, add into your Cargo.toml:
[dependencies] libbpf-rs = "0.24"
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.
We welcome all contributions! Please see the contributor's guide for more information.