Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aya-rs/aya-template
A cargo-generate template for Rust eBPF Projects using Aya
https://github.com/aya-rs/aya-template
cargo-generate ebpf rust
Last synced: 3 months ago
JSON representation
A cargo-generate template for Rust eBPF Projects using Aya
- Host: GitHub
- URL: https://github.com/aya-rs/aya-template
- Owner: aya-rs
- Created: 2021-08-04T15:34:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T16:22:23.000Z (3 months ago)
- Last Synced: 2024-07-24T15:53:05.041Z (3 months ago)
- Topics: cargo-generate, ebpf, rust
- Language: Rust
- Homepage:
- Size: 134 KB
- Stars: 70
- Watchers: 5
- Forks: 34
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# {{project-name}}
## Prerequisites
1. Install bpf-linker: `cargo install bpf-linker`
## Build eBPF
```bash
cargo xtask build-ebpf
```To perform a release build you can use the `--release` flag.
You may also change the target architecture with the `--target` flag.## Build Userspace
```bash
cargo build
```## Build eBPF and Userspace
```bash
cargo xtask build
```## Run
```bash
RUST_LOG=info cargo xtask run
```