Go to file
Tamir Duberstein 5041d0e667
Run clippy in CI
.cargo ebpf: consolidate rust-analyzer settings
.github Build on ubuntu-22.04
xtask Move dependencies to workspace
{{project-name}} Move dependencies to workspace
{{project-name}}-common Move dependencies to workspace
{{project-name}}-ebpf Move dependencies to workspace
.gitignore chore: remove Cargo.lock from .gitignore ()
Cargo.toml Move dependencies to workspace
README.md add a build command ()
cargo-generate.toml Remove branch specifications
pre-script.rhai include and use clap only if needed
test.sh Run clippy in CI

README.md

{{project-name}}

Prerequisites

  1. Install bpf-linker: cargo install bpf-linker

Build eBPF

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

cargo build

Build eBPF and Userspace

cargo xtask build

Run

RUST_LOG=info cargo xtask run