Skip to content

Commit 4bd2a13

Browse files
d-e-s-oinsearchoflosttime
authored andcommitted
Correct the minimum versions of various dependencies we have
We have a bunch of dependencies listed with minimum supported versions that don't actually build -- either because such early versions of crates simply do not build successfully anymore on current toolchain or because we make use of features that were added only in later version of said dependencies. Bump them all up to the actual minimum versions. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 147bb09 commit 4bd2a13

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

examples/capable/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Devasia Thomas <https://www.linkedin.com/in/devasiathomas>"]
55
edition = "2021"
66

77
[dependencies]
8-
anyhow = "1.0"
8+
anyhow = "1.0.4"
99
libbpf-rs = { path = "../../libbpf-rs" }
1010
libc = "0.2"
1111
phf = { version = "0.10", features = ["macros"] }

examples/tproxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "proxy"
1010

1111
[dependencies]
1212
anyhow = "1.0"
13-
clap = { version = "3.1", default-features = false, features = ["std", "derive"] }
13+
clap = { version = "3.2.1", default-features = false, features = ["std", "derive"] }
1414
ctrlc = "3.2"
1515
libbpf-rs = { path = "../../libbpf-rs" }
1616
nix = { version = "0.24", default-features = false, features = ["net", "user"] }

libbpf-cargo/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ path = "src/lib.rs"
3030
novendor = ["libbpf-sys/novendor"]
3131

3232
[dependencies]
33-
anyhow = "1.0"
34-
cargo_metadata = "0.14"
33+
anyhow = "1.0.1"
34+
cargo_metadata = "0.15.0"
3535
libbpf-sys = { version = "1.0.3" }
3636
memmap2 = "0.5"
3737
num_enum = "0.5"

libbpf-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ vsprintf = "2.0"
3232

3333
[dev-dependencies]
3434
libc = "0.2"
35-
log = "0.4"
35+
log = "0.4.4"
3636
plain = "0.2.3"
3737
probe = "0.3"
3838
scopeguard = "1.1"

libbpf-rs/src/print.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ extern "C" fn outer_print_cb(
8383
/// To pass all messages to the `log` crate:
8484
///
8585
/// ```
86-
/// use log;
8786
/// use libbpf_rs::{PrintLevel, set_print};
8887
///
8988
/// fn print_to_log(level: PrintLevel, msg: String) {

0 commit comments

Comments
 (0)