{"id":15007479,"url":"https://github.com/bpfdeploy-io/bpf-rs","last_synced_at":"2025-04-09T16:03:30.229Z","repository":{"id":45762491,"uuid":"471800097","full_name":"bpfdeploy-io/bpf-rs","owner":"bpfdeploy-io","description":"A collection of Rust libraries for inspecting \u0026 managing eBPF","archived":false,"fork":false,"pushed_at":"2022-11-08T18:05:14.000Z","size":215,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"next","last_synced_at":"2025-04-09T16:03:27.168Z","etag":null,"topics":["bpf","ebpf","linux","linux-kernel","rust"],"latest_commit_sha":null,"homepage":"https://bpfdeploy.io/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpfdeploy-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T20:00:59.000Z","updated_at":"2022-10-31T15:28:03.000Z","dependencies_parsed_at":"2022-08-29T14:11:27.895Z","dependency_job_id":null,"html_url":"https://github.com/bpfdeploy-io/bpf-rs","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpfdeploy-io%2Fbpf-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpfdeploy-io%2Fbpf-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpfdeploy-io%2Fbpf-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpfdeploy-io%2Fbpf-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpfdeploy-io","download_url":"https://codeload.github.com/bpfdeploy-io/bpf-rs/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065290,"owners_count":21041871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpf","ebpf","linux","linux-kernel","rust"],"created_at":"2024-09-24T19:10:16.063Z","updated_at":"2025-04-09T16:03:30.177Z","avatar_url":"https://github.com/bpfdeploy-io.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ebpf-rs\u003c/h1\u003e\n  \u003cp\u003e\n    A collection of Rust crates for inspecting \u0026 managing eBPF objects.\n  \u003c/p\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n\n## [bpf-rs](./bpf-rs/)\n\n[![crates.io badge](https://img.shields.io/crates/v/bpf-rs.svg)](https://crates.io/crates/bpf-rs)\n[![crates.io badge](https://img.shields.io/crates/l/bpf-rs.svg)](https://crates.io/crates/bpf-rs)\n[![crates.io badge](https://img.shields.io/docsrs/bpf-rs/latest.svg)](https://docs.rs/bpf-rs)\n\nA core library for managing eBPF objects, focused on ergonomics and serialization.\n\nSee [documentation here](https://docs.rs/bpf-rs/)\n\n## [bpf-feature](./bpf-feature/)\n\n[![crates.io badge](https://img.shields.io/crates/v/bpf-feature.svg)](https://crates.io/crates/bpf-feature)\n[![crates.io badge](https://img.shields.io/crates/l/bpf-feature.svg)](https://crates.io/crates/bpf-feature)\n[![crates.io badge](https://img.shields.io/docsrs/bpf-feature/latest.svg)](https://docs.rs/bpf-feature)\n\nAn eBPF feature detection library based on [bpftool](https://github.com/libbpf/bpftool)'s `feature` subcommand.\n\nClients can determine available bpf features (such as program \u0026 map types, kernel config values, bpf helper functions etc.) supported in their current kernels.\n\nSee [documentation here](https://docs.rs/bpf-feature/)\n\nSee [examples here](./bpf-feature/examples/)\n\n## [bpf-obj-dump](./bpf-obj-dump/)\n\n[![crates.io badge](https://img.shields.io/badge/status-WIP-yellow.svg)]()\n\nA work-in-progress library to aid in the dumping of eBPF programs and maps.\n\n## Contributing \u0026 Testing\n\nThe development here was based on a Debian-based distro on the x86_64 arch against a v5.18 Linux kernel version.\nThe eBPF landscape is progressing quickly but with an eye towards backward compatibility.\nWe aim to do the same so if an issue occurs in your environment, please feel free to file an issue.\n\n### Testing\n\nThis project uses [just](https://github.com/casey/just) as its task runner. You can run tests locally with:\n\n```bash\n$ just test\n```\n\n## Licenses\n\nMost, if not all, of the crates published here fall under the permissive [BSD 2-Clause](https://choosealicense.com/licenses/bsd-2-clause/#) license.\n\n## Acknowledgements\n\nA lot of the techniques here were inspired by [bpftool](https://github.com/libbpf/bpftool), [libbpf](https://github.com/libbpf/libbpf) and [libbpf-rs](https://github.com/libbpf/libbpf-rs). We aim to support these efforts by contributing back and directly referencing them as the canonical implementations.\n\n Maintained by [bpfdeploy.io](https://bpfdeploy.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpfdeploy-io%2Fbpf-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpfdeploy-io%2Fbpf-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpfdeploy-io%2Fbpf-rs/lists"}