mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Bumps the windows group in /rust with 2 updates: [windows](https://github.com/microsoft/windows-rs) and [windows-implement](https://github.com/microsoft/windows-rs). Updates `windows` from 0.56.0 to 0.57.0 <details> <summary>Commits</summary> <ul> <li><a href="15947886be"><code>1594788</code></a> Release 0.57.0 (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3081">#3081</a>)</li> <li><a href="21d17ab998"><code>21d17ab</code></a> Add WinRT <code>noexcept</code> support (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3070">#3070</a>)</li> <li><a href="7d94387a7c"><code>7d94387</code></a> Optimize <code>IUnknown</code> identity checks (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3073">#3073</a>)</li> <li><a href="4572dcd6ae"><code>4572dcd</code></a> Remove <code>unused_qualifications</code> (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3078">#3078</a>)</li> <li><a href="a623c3f27f"><code>a623c3f</code></a> Fix warnings from Rust 1.80.0 nightly (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3074">#3074</a>)</li> <li><a href="0940e1f635"><code>0940e1f</code></a> Check for null pointers in core <code>IInspectable</code> implementation (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3057">#3057</a>)</li> <li><a href="8b4a185e56"><code>8b4a185</code></a> Use default rustfmt config for most crates (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3064">#3064</a>)</li> <li><a href="b8586add80"><code>b8586ad</code></a> Fix Debug impls for COM interfaces (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3066">#3066</a>)</li> <li><a href="dbc3932513"><code>dbc3932</code></a> Fix bug in COM interface chain support (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3060">#3060</a>)</li> <li><a href="71f8c2a4d9"><code>71f8c2a</code></a> Fix handling of COM interfaces with same method name (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3059">#3059</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0">compare view</a></li> </ul> </details> <br /> Updates `windows-implement` from 0.56.0 to 0.57.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/windows-rs/releases">windows-implement's releases</a>.</em></p> <blockquote> <h2>0.57.0</h2> <p>This release includes updates to a number of crates.</p> <p>It includes major updates to the following:</p> <ul> <li><code>riddle</code> 0.57.0</li> <li><code>windows</code> 0.57.0</li> <li><code>windows-bindgen</code> 0.57.0</li> <li><code>windows-core</code> 0.57.0</li> <li><code>windows-implement</code> 0.57.0</li> <li><code>windows-interface</code> 0.57.0</li> <li><code>windows-metadata</code> 0.57.0</li> </ul> <p>It also includes minor updates to the following:</p> <ul> <li><code>windows-result</code> 0.1.2</li> <li><code>windows-registry</code> 0.1.2</li> </ul> <p>This includes various improvements and fixes to code generation, compliance with new Rust warnings, COM authoring support helpers, and more.</p> <p>This release also includes the first published version of the <code>cppwinrt</code> crate.</p> <h2>What's Changed</h2> <ul> <li>Workflow improvements by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/2994">microsoft/windows-rs#2994</a></li> <li>Workflow improvements 2 by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/2998">microsoft/windows-rs#2998</a></li> <li>Workflow improvements 3 by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3000">microsoft/windows-rs#3000</a></li> <li>Workflow improvements 4 by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3001">microsoft/windows-rs#3001</a></li> <li>Add <code>as_raw</code> to <code>windows-registry</code> by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3003">microsoft/windows-rs#3003</a></li> <li>Add Linux smoke test by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3005">microsoft/windows-rs#3005</a></li> <li>Add non-windows support for PWSTR and PCWSTR by <a href="https://github.com/tyilo"><code>@tyilo</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3004">microsoft/windows-rs#3004</a></li> <li>Use generated <code>E_POINTER</code> constant in <code>windows-core</code> by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3008">microsoft/windows-rs#3008</a></li> <li>Use prebuilt gnullvm target by <a href="https://github.com/mati865"><code>@mati865</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3007">microsoft/windows-rs#3007</a></li> <li>Eliminate default features for JSON samples by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3012">microsoft/windows-rs#3012</a></li> <li>Add support for freeing handles automatically by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3013">microsoft/windows-rs#3013</a></li> <li>Addressing feedback on handle ownership by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3014">microsoft/windows-rs#3014</a></li> <li>Bump ejs from 3.1.9 to 3.1.10 in /web/features by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3017">microsoft/windows-rs#3017</a></li> <li>Reconfigure environment for GNU toolchain by <a href="https://github.com/riverar"><code>@riverar</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3019">microsoft/windows-rs#3019</a></li> <li>Remove workaround for empty structs by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3016">microsoft/windows-rs#3016</a></li> <li>Derive <code>Copy</code>, <code>Clone</code>, and <code>Debug</code> for handles by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3015">microsoft/windows-rs#3015</a></li> <li>Fix for Clippy <code>HSTRING</code> interior mutability warnings in nightly by <a href="https://github.com/riverar"><code>@riverar</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3021">microsoft/windows-rs#3021</a></li> <li>Handle new <code>unexpected_cfgs</code> warnings by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3022">microsoft/windows-rs#3022</a></li> <li>Update jsonschema requirement from 0.17 to 0.18 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3023">microsoft/windows-rs#3023</a></li> <li>Add <code>Ref</code> and <code>OutRef</code> to enhance COM authoring support by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3025">microsoft/windows-rs#3025</a></li> <li>Simplify derefencing <code>Ref</code> interface parameters by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3027">microsoft/windows-rs#3027</a></li> <li>Add <code>from_raw</code> to <code>windows-registry</code> by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3034">microsoft/windows-rs#3034</a></li> <li>Simplify <code>windows-registry</code> readme by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3035">microsoft/windows-rs#3035</a></li> <li>Type name deferral in <code>windows-metadata</code> and <code>windows-bindgen</code> by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3039">microsoft/windows-rs#3039</a></li> <li>Streamline <code>TypeName</code> to support pattern matching by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3040">microsoft/windows-rs#3040</a></li> <li>Derive standard traits for structs by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3041">microsoft/windows-rs#3041</a></li> <li>Add missing MSRV workflows for newer lib crates by <a href="https://github.com/kennykerr"><code>@kennykerr</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3042">microsoft/windows-rs#3042</a></li> <li>Provide an explicit <code>ComObject<T></code> type that represents a heap-allocated COM object by <a href="https://github.com/sivadeilra"><code>@sivadeilra</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3043">microsoft/windows-rs#3043</a></li> <li>bindgen/default: Improve formatting of the readme by <a href="https://github.com/MarijnS95"><code>@MarijnS95</code></a> in <a href="https://redirect.github.com/microsoft/windows-rs/pull/3045">microsoft/windows-rs#3045</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="15947886be"><code>1594788</code></a> Release 0.57.0 (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3081">#3081</a>)</li> <li><a href="21d17ab998"><code>21d17ab</code></a> Add WinRT <code>noexcept</code> support (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3070">#3070</a>)</li> <li><a href="7d94387a7c"><code>7d94387</code></a> Optimize <code>IUnknown</code> identity checks (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3073">#3073</a>)</li> <li><a href="4572dcd6ae"><code>4572dcd</code></a> Remove <code>unused_qualifications</code> (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3078">#3078</a>)</li> <li><a href="a623c3f27f"><code>a623c3f</code></a> Fix warnings from Rust 1.80.0 nightly (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3074">#3074</a>)</li> <li><a href="0940e1f635"><code>0940e1f</code></a> Check for null pointers in core <code>IInspectable</code> implementation (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3057">#3057</a>)</li> <li><a href="8b4a185e56"><code>8b4a185</code></a> Use default rustfmt config for most crates (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3064">#3064</a>)</li> <li><a href="b8586add80"><code>b8586ad</code></a> Fix Debug impls for COM interfaces (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3066">#3066</a>)</li> <li><a href="dbc3932513"><code>dbc3932</code></a> Fix bug in COM interface chain support (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3060">#3060</a>)</li> <li><a href="71f8c2a4d9"><code>71f8c2a</code></a> Fix handling of COM interfaces with same method name (<a href="https://redirect.github.com/microsoft/windows-rs/issues/3059">#3059</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </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>
gui-client
This crate houses a GUI client for Linux and Windows.
Setup (Ubuntu)
To compile natively for x86_64 Linux:
- Install rustup
- Install pnpm
sudo apt-get install at-spi2-core gcc libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev pkg-config xvfb
Setup (Windows)
To compile natively for x86_64 Windows:
- Install rustup
- Install pnpm
Recommended IDE Setup
(From Tauri's default README)
Building
Builds are best started from the frontend tool pnpm. This ensures typescript
and css is compiled properly before bundling the application.
See the package.json script for more details as to what's
going on under the hood.
# Builds a release exe
pnpm build
# Linux:
# The release exe and deb package are up in the workspace.
stat ../target/release/firezone
stat ../target/release/bundle/deb/*.deb
# Windows:
# The release exe and MSI installer should be up in the workspace.
# The exe can run without being installed
stat ../target/release/Firezone.exe
stat ../target/release/bundle/msi/Firezone_0.0.0_x64_en-US.msi
Running
From this dir:
# This will start the frontend tools in watch mode and then run `tauri dev`
pnpm dev
# You can call debug subcommands on the exe from this directory too
# e.g. this is equivalent to `cargo run -- debug hostname`
cargo tauri dev -- -- debug hostname
# The exe is up in the workspace
stat ../target/debug/Firezone.exe
The app's config and logs will be stored at
C:\Users\$USER\AppData\Local\dev.firezone.client.
Platform support
Ubuntu 20.04 and newer is supported.
Tauri says it should work on Windows 10, Version 1803 and up. Older versions may work if you manually install WebView2
x86_64 architecture is supported at this time. See
this issue for aarch64
support.
Threat model
See Security