You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
catalin-h a006355e62
lsp: support rust-analyzer on helix editor (#103)
This patch allows the helix editor to correctly initialize the
rust-analyzer when opening a source file from {{project-name}}-ebpf.

To find the Cargo.toml the helix editor must be launched from
the {{project-name}}-ebpf directory or provide the workspace path
as follows:

hx -w <path to {{project-name}}-ebpf> [relative path in {{project-name}}-ebpf]

The patch was tested using helix version 23.10.
4 months ago
.cargo Remove branch specifications 1 year ago
.github Bump actions/checkout from 3 to 4 1 year ago
.vim lsp: use project-name instead of crate_name to generate Cargo.toml path 3 years ago
.vscode lsp: use project-name instead of crate_name to generate Cargo.toml path 3 years ago
xtask add a build command (#108) 4 months ago
{{project-name}} chore: Use `aya`, `aya-ebpf` and `aya-log` from crates.io 5 months ago
{{project-name}}-common chore: Use `aya`, `aya-ebpf` and `aya-log` from crates.io 5 months ago
{{project-name}}-ebpf lsp: support rust-analyzer on helix editor (#103) 4 months ago
.gitignore Initial Commit 3 years ago
Cargo.toml build: Set `resolver = "2"` at the workspace's Cargo.toml 4 months ago
README.md add a build command (#108) 4 months ago
cargo-generate.toml Remove branch specifications 1 year ago
pre-script.rhai include and use clap only if needed 2 years ago
test.sh socket_filter: fix build 1 year ago

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