build(deps): Bump wintun from 0.2.1 to 0.3.1 in /rust (#2129)

Bumps [wintun](https://github.com/nulldotblack/wintun) from 0.2.1 to
0.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nulldotblack/wintun/releases">wintun's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.1</h2>
<h2>Added</h2>
<ul>
<li>Support for non 32bit x86 and arm targets in all three examples</li>
</ul>
<h3>Updated</h3>
<ul>
<li>Adapter docs</li>
</ul>
<h2>v0.3.0</h2>
<h3>Added</h3>
<ul>
<li>udp-echo example which mirrors packets via the tun interface</li>
<li><code>Adapter::get_name</code>, <code>Adapter::set_name</code>, and
<code>Adapter::get_guid</code></li>
<li><code>Adapter::set_address</code> <code>Adapter::set_gateway</code>,
<code>Adapter::set_netmask</code>, or
<code>Adapter::set_network_addresses_tuple</code> to set all three at
once
<ul>
<li>Easily configure adapter address, netmask, and gateway properties to
more easily control how it interacts with the Windows networking
stack</li>
</ul>
</li>
<li>And <code>Adapter::get_addresses</code>,
<code>Adapter::get_gateways</code>,
<code>Adapter::get_netmask_of_address</code> to read this state</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li>Renamed <code>enum ApiError</code> -&gt; <code>enum Error</code> and
added more variants.
<ul>
<li>All functions returning <code>wintun::Result</code> are
effected.</li>
</ul>
</li>
<li>Removed <code>pool: &amp;str</code> parameter from
<code>Adapter::create</code> as this was removed from the wintun c
library</li>
<li>Changed return type of <code>Session::get_read_wait_event</code>
from <code>Result&lt;winnt::HANDLE, ()&gt;</code> to
<code>Result&lt;windows::Win32::HANDLE, wintun::Error&gt;</code></li>
</ul>
<p>Plus internal refactoring and cleanup by <a
href="https://github.com/ssrlive"><code>@​ssrlive</code></a> in <a
href="https://redirect.github.com/nulldotblack/wintun/issues/7">#7</a>.
Thanks!</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/nulldotblack/wintun/blob/main/CHANGELOG.md">wintun's
changelog</a>.</em></p>
<blockquote>
<h2>[0.3.1] - 2023-09-16</h2>
<h2>Added</h2>
<ul>
<li>Support for non 32bit x86 and arm targets in all three examples</li>
</ul>
<h3>Updated</h3>
<ul>
<li>Adapter docs</li>
</ul>
<h2>[0.3.0] - 2023-09-15</h2>
<h3>Added</h3>
<ul>
<li>udp-echo example which mirrors packets via the tun interface</li>
<li><code>Adapter::get_name</code>, <code>Adapter::set_name</code>, and
<code>Adapter::get_guid</code></li>
<li><code>Adapter::set_address</code> <code>Adapter::set_gateway</code>,
<code>Adapter::set_netmask</code>, or
<code>Adapter::set_network_addresses_tuple</code> to set all three at
once
<ul>
<li>Easily configure adapter address, netmask, and gateway properties to
more easily control how it interacts with the Windows networking
stack</li>
</ul>
</li>
<li>And <code>Adapter::get_addresses</code>,
<code>Adapter::get_gateways</code>,
<code>Adapter::get_netmask_of_address</code> to read this state</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li>Renamed <code>enum ApiError</code> -&gt; <code>enum Error</code> and
added more variants.
<ul>
<li>All functions returning <code>wintun::Result</code> are
effected.</li>
</ul>
</li>
<li>Removed <code>pool: &amp;str</code> parameter from
<code>Adapter::create</code> as this was removed from the wintun c
library</li>
<li>Changed return type of <code>Session::get_read_wait_event</code>
from <code>Result&lt;winnt::HANDLE, ()&gt;</code> to
<code>Result&lt;windows::Win32::HANDLE, wintun::Error&gt;</code></li>
</ul>
<p>Plus internal refactoring and cleanup by <a
href="https://github.com/ssrlive"><code>@​ssrlive</code></a>: <a
href="https://redirect.github.com/nulldotblack/wintun/pull/7">nulldotblack/wintun#7</a>.
Thanks!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7aa2059895"><code>7aa2059</code></a>
prep 0.3.1 (<a
href="https://redirect.github.com/nulldotblack/wintun/issues/10">#10</a>)</li>
<li><a
href="d962317331"><code>d962317</code></a>
Minor changes (<a
href="https://redirect.github.com/nulldotblack/wintun/issues/9">#9</a>)</li>
<li><a
href="aa68d4c43f"><code>aa68d4c</code></a>
Merge pull request <a
href="https://redirect.github.com/nulldotblack/wintun/issues/8">#8</a>
from nulldotblack/prep-0.3.0</li>
<li><a
href="6844dcf9b8"><code>6844dcf</code></a>
Remove vim undo file</li>
<li><a
href="549a1e9b73"><code>549a1e9</code></a>
update changlog</li>
<li><a
href="fe906e46fc"><code>fe906e4</code></a>
Merge pull request <a
href="https://redirect.github.com/nulldotblack/wintun/issues/7">#7</a>
from ssrlive/main</li>
<li><a
href="3b48c40a46"><code>3b48c40</code></a>
Modified as required by <a
href="https://github.com/TroyNeubauer"><code>@​TroyNeubauer</code></a></li>
<li><a
href="e5b9bfdfae"><code>e5b9bfd</code></a>
some links</li>
<li><a
href="84890b4c03"><code>84890b4</code></a>
set_network_addresses_tuple</li>
<li><a
href="97ffe9876a"><code>97ffe98</code></a>
get_gateways</li>
<li>Additional commits viewable in <a
href="https://github.com/nulldotblack/wintun/compare/v0.2.1...v0.3.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wintun&package-manager=cargo&previous-version=0.2.1&new-version=0.3.1)](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 <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>
This commit is contained in:
dependabot[bot]
2023-09-25 07:58:11 -07:00
committed by GitHub
parent df3560bd67
commit 183c2cc7ab
2 changed files with 38 additions and 18 deletions

54
rust/Cargo.lock generated
View File

@@ -700,7 +700,7 @@ checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
dependencies = [
"glob",
"libc",
"libloading",
"libloading 0.7.4",
]
[[package]]
@@ -1663,7 +1663,7 @@ dependencies = [
"iana-time-zone-haiku",
"js-sys",
"wasm-bindgen",
"windows",
"windows 0.48.0",
]
[[package]]
@@ -1842,7 +1842,7 @@ dependencies = [
"combine",
"java-locator",
"jni-sys",
"libloading",
"libloading 0.7.4",
"log",
"thiserror",
"walkdir",
@@ -1892,6 +1892,16 @@ dependencies = [
"winapi",
]
[[package]]
name = "libloading"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb"
dependencies = [
"cfg-if 1.0.0",
"windows-sys 0.48.0",
]
[[package]]
name = "libm"
version = "0.2.7"
@@ -4391,12 +4401,6 @@ dependencies = [
"rustix",
]
[[package]]
name = "widestring"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c"
[[package]]
name = "winapi"
version = "0.3.9"
@@ -4437,6 +4441,25 @@ dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "windows"
version = "0.51.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9"
dependencies = [
"windows-core",
"windows-targets 0.48.5",
]
[[package]]
name = "windows-core"
version = "0.51.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64"
dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "windows-sys"
version = "0.45.0"
@@ -4571,17 +4594,14 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
[[package]]
name = "wintun"
version = "0.2.1"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "094235c21dfb805c6870b00d0d80f65b727d8296ab88ae6b506e827e4b4116de"
checksum = "3d16b65b0688b87ea78a15274db89200a13638b136cd4a70885da61a65203ef6"
dependencies = [
"itertools 0.10.5",
"libloading",
"libloading 0.8.0",
"log",
"once_cell",
"rand",
"widestring",
"winapi",
"thiserror",
"windows 0.51.1",
]
[[package]]

View File

@@ -42,4 +42,4 @@ tracing-android = "0.2"
# Windows tunnel dependencies
[target.'cfg(target_os = "windows")'.dependencies]
wintun = "0.2.1"
wintun = "0.3.1"