mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Previously, we eagerly created a channel bind message and then buffered it if we didn't have an allocation. That resulted in some duplicated checks once we did end up sending the message. To avoid this, we remove the dedicated `BufferedChannelBindings` struct and instead use the newly added `RingBuffer`. Whilst we are at it, we also increase the number of buffered messages to avoid dropping them too early.
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.