Skip to content

Commit 835cd54

Browse files
authored
chore: make rtnetlink versions explicit (firezone#3736)
If I do `rm Cargo.lock && cargo check --all` then I get errors about rtnetlink. ![image](https://github.com/firezone/firezone/assets/13400041/c1eeff84-d65c-403d-9b33-24e00168ba36) Dependabot tried to update these a couple weeks ago in firezone#3558 and it had some conflicts, so I'm just making the old versions explicit so that redoing the lockfile won't break anything. This is because I got into a weird state with the new `dirs` dependency for Linux where I removed it from Cargo.toml, but it was still in the lockfile or something, so the program built even though it should not have. And then when I tried to rebuild Cargo.lock I got these errors about rtnetlink.
1 parent 2264eee commit 835cd54

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rust/Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ futures-bounded = "0.2.1"
3131
domain = { version = "0.9", features = ["serde"] }
3232
dns-lookup = "2.0"
3333
tokio-tungstenite = "0.21"
34-
rtnetlink = { version = "0.14", default-features = false, features = ["tokio_socket"] }
34+
rtnetlink = { version = "0.14.1", default-features = false, features = ["tokio_socket"] }
3535

3636
connlib-client-android = { path = "connlib/clients/android"}
3737
connlib-client-apple = { path = "connlib/clients/apple"}

rust/connlib/tunnel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tempfile = "3.10.0"
4545

4646
# Linux tunnel dependencies
4747
[target.'cfg(target_os = "linux")'.dependencies]
48-
netlink-packet-route = { version = "0.18", default-features = false }
48+
netlink-packet-route = { version = "0.19", default-features = false }
4949
netlink-packet-core = { version = "0.7", default-features = false }
5050
rtnetlink = { workspace = true }
5151
sd-notify = "0.4.1"

0 commit comments

Comments
 (0)