mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-25 02:43:07 +08:00
Setup development environment with libbpf
This commit is contained in:
17
external/libbpf-bootstrap/examples/rust/xdp/Cargo.toml
vendored
Normal file
17
external/libbpf-bootstrap/examples/rust/xdp/Cargo.toml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
[package]
|
||||
name = "xdp"
|
||||
version = "0.1.0"
|
||||
authors = ["Hengqi Chen <chenhengqi@outlook.com>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
ctrlc = { version = "3.0", features = ["termination"] }
|
||||
libc = "0.2"
|
||||
libbpf-rs = "0.14.0"
|
||||
structopt = "0.3"
|
||||
|
||||
[build-dependencies]
|
||||
libbpf-cargo = "0.9.3"
|
||||
Reference in New Issue
Block a user