-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/rust: Update libbpf-rs & libbpf-cargo
Update the libbpf-rs & libbpf-cargo versions to the most recent releases and adjust the code accordingly. Set minimum supported Rust versions to prevent accidental upgrade to lock file version 4. Closes: #295 Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
Showing
10 changed files
with
76 additions
and
303 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ version = "0.1.0" | |
authors = ["Kuifeng Lee <[email protected]>"] | ||
license = "GPL-2.0 OR BSD-3-Clause" | ||
edition = "2021" | ||
rust-version = "1.71" | ||
|
||
[dependencies] | ||
blazesym = { path = "../../../blazesym", features = ["tracing"] } | ||
clap = { version = "4.0", features = ["derive"] } | ||
libbpf-rs = "0.22" | ||
libbpf-rs = "0.24" | ||
libc = "*" | ||
nix = "0.24.1" | ||
tracing = "0.1" | ||
tracing-subscriber = {version = "0.3", features = ["ansi", "env-filter", "fmt"]} | ||
|
||
[build-dependencies] | ||
libbpf-cargo = "0.22" | ||
libbpf-cargo = "0.24" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ version = "0.1.0" | |
authors = ["Magnus Kulke <[email protected]>"] | ||
edition = "2021" | ||
license = "GPL-2.0 OR BSD-3-Clause" | ||
rust-version = "1.71" | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
libbpf-rs = "0.19" | ||
libbpf-rs = "0.24" | ||
libc = "0.2" | ||
structopt = "0.3" | ||
ctrlc = "3.1" | ||
object = "0.25" | ||
plain = "0.2" | ||
|
||
[build-dependencies] | ||
libbpf-cargo = "0.13" | ||
libbpf-cargo = "0.24" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,16 @@ name = "xdp" | |
version = "0.1.0" | ||
authors = ["Hengqi Chen <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.71" | ||
|
||
# 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.19" | ||
libbpf-rs = "0.24" | ||
structopt = "0.3" | ||
|
||
[build-dependencies] | ||
libbpf-cargo = "0.13" | ||
libbpf-cargo = "0.24" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters