mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.17 to 0.99.18. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JelteF/derive_more/blob/v0.99.18/CHANGELOG.md">derive_more's changelog</a>.</em></p> <blockquote> <h2>0.99.18 - 2024-06-15</h2> <ul> <li>Update syn to version 2.x</li> <li>Bump minimum supported rust version to 1.65</li> </ul> <h2>0.99.10 - 2020-09-11</h2> <h3>Improvements</h3> <ul> <li><code>From</code> supports additional types for conversion: <code>#[from(types(u8, u16))]</code>.</li> </ul> <h2>0.99.7 - 2020-05-16</h2> <h3>Fixes</h3> <ul> <li>Fix generic derives for <code>MulAssign</code></li> </ul> <h3>Improvements</h3> <ul> <li>When specifying specific features of the crate to only enable specific derives, the <code>extra-traits</code> feature of <code>syn</code> is not always enabled when those the specified features do not require it. This should speed up compile time of <code>syn</code> when this feature is not needed.</li> </ul> <h2>0.99.6 - 2020-05-13</h2> <h3>Improvements</h3> <ul> <li>Make sure output of derives is deterministic, for better support in rust-analyzer</li> </ul> <h2>0.99.5 - 2020-03-28</h2> <h3>New features</h3> <ul> <li>Support for deriving <code>Error</code>!!! (many thanks to <a href="https://github.com/ffuugoo"><code>@ffuugoo</code></a> and <a href="https://github.com/tyranron"><code>@tyranron</code></a>)</li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fix generic bounds for <code>Deref</code> and <code>DerefMut</code> with <code>forward</code>, i.e. put <code>Deref</code> bound on whole type, so on <code>where Box<T>: Deref</code> instead of on <code>T: Deref</code>. (<a href="https://redirect.github.com/JelteF/derive_more/issues/114">#107</a>)</p> </li> <li> <p>The <code>tests</code> directory is now correctly included in the crate (requested by Debian package maintainers)</p> </li> </ul> <h2>0.99.4 - 2020-03-28</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="678a4735bc"><code>678a473</code></a> chore: Release derive_more version 0.99.18</li> <li><a href="fcde5568cb"><code>fcde556</code></a> Include example published package</li> <li><a href="89cbd82959"><code>89cbd82</code></a> Remove track_caller feature detection because msrv was bumped</li> <li><a href="db36f6dade"><code>db36f6d</code></a> Fix question marks</li> <li><a href="f0c2530255"><code>f0c2530</code></a> fmt</li> <li><a href="461db95716"><code>461db95</code></a> Fix issue when compiling on 1.65</li> <li><a href="39ad36fd71"><code>39ad36f</code></a> Update changelog for v0.99.18</li> <li><a href="57b6e1746e"><code>57b6e17</code></a> Update to syn 2</li> <li><a href="ea4fa94003"><code>ea4fa94</code></a> Fix tests</li> <li><a href="ab82aef0bf"><code>ab82aef</code></a> Ignore error doctests as it still contains old backtrace logic</li> <li>Additional commits viewable in <a href="https://github.com/JelteF/derive_more/compare/v0.99.17...v0.99.18">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.
Reading Client logs
The Client logs are written as JSONL for machine-readability.
To make them more human-friendly, pipe them through jq like this:
cd path/to/logs # e.g. `$HOME/.cache/dev.firezone.client/data/logs` on Linux
cat *.log | jq -r '"\(.time) \(.severity) \(.message)"'
Resulting in, e.g.
2024-04-01T18:25:47.237661392Z INFO started log
2024-04-01T18:25:47.238193266Z INFO GIT_VERSION = 1.0.0-pre.11-35-gcc0d43531
2024-04-01T18:25:48.295243016Z INFO No token / actor_name on disk, starting in signed-out state
2024-04-01T18:25:48.295360641Z INFO null