mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
If I do `rm Cargo.lock && cargo check --all` then I get errors about rtnetlink.  Dependabot tried to update these a couple weeks ago in #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.
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.