mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Bumps [time](https://github.com/time-rs/time) from 0.3.34 to 0.3.36. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/releases">time's releases</a>.</em></p> <blockquote> <h2>v0.3.36</h2> <p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p> <h2>v0.3.35</h2> <p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p> <blockquote> <h2>0.3.36 [2024-04-10]</h2> <h3># Fixed</h3> <ul> <li><code>FormatItem</code> can be used as part of an import path. See <a href="https://redirect.github.com/time-rs/time/issues/675">#675</a> for details.</li> </ul> <p><a href="https://redirect.github.com/time-rs/time/issues/675">#675</a>: <a href="https://redirect.github.com/time-rs/time/issues/675">time-rs/time#675</a></p> <h2>0.3.35 [2024-04-10]</h2> <h3>Added</h3> <ul> <li><code>Duration::checked_neg</code></li> <li><code>ext::InstantExt</code>, which provides methods for using <code>time::Duration</code> with <code>std::time::Instant</code></li> </ul> <h3>Changed</h3> <ul> <li><code>Instant</code> is deprecated. It is recommended to use <code>std::time::Instant</code> directly, importing <code>time::ext::InstantExt</code> for interoperability with <code>time::Duration</code>.</li> <li><code>FormatItem</code> has been renamed to <code>BorrowedFormatItem</code>, avoiding confusion with <code>OwnedFormatItem</code>. An alias has been added for backwards compatibility.</li> </ul> <h3>Fixed</h3> <ul> <li>The weekday is optional when parsing RFC2822.</li> <li>The range of sub-second values in <code>Duration</code> is documented correctly. The previous documentation contained an off-by-one error.</li> <li>Leap seconds are now correctly handled when parsing ISO 8601.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="3c3c546a66"><code>3c3c546</code></a> <code>pub use</code> instead of <code>pub type</code> re-exporting</li> <li><a href="266178da67"><code>266178d</code></a> Update code coverage CI</li> <li><a href="131049ea15"><code>131049e</code></a> v0.3.35 release</li> <li><a href="9c15ee3466"><code>9c15ee3</code></a> Permit leap seconds when parsing ISO 8601</li> <li><a href="d279d8d38f"><code>d279d8d</code></a> Fix invalid offset hour diagnostic test</li> <li><a href="f04a28feec"><code>f04a28f</code></a> Eliminate unreachable branch</li> <li><a href="06a096d821"><code>06a096d</code></a> Rename <code>FormatItem</code> to <code>BorrowedFormatItem</code></li> <li><a href="fd664eef0d"><code>fd664ee</code></a> Include diagnostics regression</li> <li><a href="b8d09a7bcc"><code>b8d09a7</code></a> Address nightly lints</li> <li><a href="330865ac90"><code>330865a</code></a> Update deny.toml</li> <li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.3.34...v0.3.36">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> Co-authored-by: Reactor Scram <ReactorScram@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