Go to file
Tamir Duberstein 3013ab506d
Fix sk_msg tests
These were broken by  which pulled in
https://github.com/aya-rs/aya/pull/397 and other changes which were not
reflected in the templates.
.cargo Add xtask for building ebpf programs
.github/workflows Replace actions-rs/toolchain with dtolnay/rust-toolchain
.vim lsp: use project-name instead of crate_name to generate Cargo.toml path
.vscode lsp: use project-name instead of crate_name to generate Cargo.toml path
xtask fail with descriptive message
{{project-name}} Fix sk_msg tests
{{project-name}}-common Fix sk_msg tests
{{project-name}}-ebpf minor space fix for VSCode toml formatting
.gitignore Initial Commit
Cargo.toml Update dependency
README.md sync run nightly install directions with Book
cargo-generate.toml include and use clap only if needed
pre-script.rhai include and use clap only if needed
test.sh cargo-generate: sort program types

README.md

{{project-name}}

Prerequisites

  1. Install a rust stable toolchain: rustup install stable
  2. Install a rust nightly toolchain with the rust-src component: rustup toolchain install nightly --component rust-src
  3. 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

Run

RUST_LOG=info cargo xtask run