Repository: oxidecomputer/typify
Pull request #734 (2025-01-06 13:35:37)

Bump ipnetwork from 0.20.0 to 0.21.0
Bumps [ipnetwork](https://github.com/achanda/ipnetwork) from 0.20.0 to 0.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/achanda/ipnetwork/releases">ipnetwork's releases</a>.</em></p>
<blockquote>
<h2>v0.21.0</h2>
<h3>Fixed</h3>
<ul>
<li>fix for 0.0.0.0/0 network (<a href="https://redirect.github.com/achanda/ipnetwork/pull/199">#199</a>)</li>
<li><em>(deps)</em> update rust crate serde to 1.0.200 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/196">#196</a>)</li>
<li><em>(deps)</em> update rust crate serde to 1.0.199 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/194">#194</a>)</li>
<li>use associated constants (<a href="https://redirect.github.com/achanda/ipnetwork/issues/191">#191</a>)</li>
</ul>
<h3>Other</h3>
<ul>
<li>Update .gitignore</li>
<li>Update publish.yml</li>
<li>Update publish.yml</li>
<li>Replace <code>Ipv{4,6}Network::new_unchecked</code> with <code>Ipv{4,6}Network::new_checked</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/203">#203</a>)</li>
<li>Make the serde feature opt-in instead of opt-out (<a href="https://redirect.github.com/achanda/ipnetwork/pull/200">#200</a>)</li>
<li>Fix typo (<a href="https://redirect.github.com/achanda/ipnetwork/pull/198">#198</a>)</li>
<li>Update publish.yml (<a href="https://redirect.github.com/achanda/ipnetwork/pull/195">#195</a>)</li>
<li><em>(deps)</em> update rust crate serde_json to 1.0.116 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/193">#193</a>)</li>
<li>setup release plz (<a href="https://redirect.github.com/achanda/ipnetwork/issues/192">#192</a>)</li>
<li>Update Rust crate criterion to 0.5.1 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/172">#172</a>)</li>
<li>Update actions/checkout action to v4 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/182">#182</a>)</li>
<li>rewrite core ipv6 methods to operate on u128s  (<a href="https://redirect.github.com/achanda/ipnetwork/issues/187">#187</a>)</li>
<li>move to dtolnay/rust-toolchain and run clippy (<a href="https://redirect.github.com/achanda/ipnetwork/issues/189">#189</a>)</li>
<li>Hash implementation to match PartialEq (<a href="https://redirect.github.com/achanda/ipnetwork/issues/186">#186</a>)</li>
<li>Update Rust crate schemars to 0.8.17 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/184">#184</a>)</li>
<li>Add const unsafe <code>new_unchecked</code> to <code>Ipv4Network</code> &amp; <code>Ipv6Network</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/185">#185</a>)</li>
<li>Update Rust crate schemars to 0.8.15 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/183">#183</a>)</li>
<li>Update Rust crate schemars to 0.8.13 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/181">#181</a>)</li>
<li>Add <code>Ipv6Network::nth</code> to get the nth address (take two) (<a href="https://redirect.github.com/achanda/ipnetwork/pull/176">#176</a>)</li>
<li>Added needed traits to <code>NetworkSize</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/175">#175</a>)</li>
<li>Update criterion requirement from 0.4.0 to 0.5.0</li>
<li>Update katyo/publish-crates action to v2</li>
<li>Update actions/checkout action to v3</li>
<li>Update Rust crate schemars to 0.8.12</li>
<li>Add renovate.json</li>
<li>Replace assert_eq with assert for bool comparison</li>
<li>Use cargo clippy --fix to autofix code</li>
<li>Add a reference where missing</li>
<li>Cleanup mask for Ipv4Addr</li>
<li>Shrink the enumerate call on mask</li>
<li>Cleanup both size functions</li>
<li>Simplify FromStr for Ipv6Network</li>
<li>Make parse_prefix more idiomatic</li>
<li>Update criterion requirement from 0.3.4 to 0.4.0 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/162">#162</a>)</li>
<li>Update does-it-json requirement from 0.0.3 to 0.0.4 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/161">#161</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/achanda/ipnetwork/blob/master/CHANGELOG.md">ipnetwork's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/achanda/ipnetwork/compare/v0.20.0...v0.21.0">0.21.0</a> - 2025-01-06</h2>
<h3>Fixed</h3>
<ul>
<li>fix for 0.0.0.0/0 network (<a href="https://redirect.github.com/achanda/ipnetwork/pull/199">#199</a>)</li>
<li><em>(deps)</em> update rust crate serde to 1.0.200 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/196">#196</a>)</li>
<li><em>(deps)</em> update rust crate serde to 1.0.199 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/194">#194</a>)</li>
<li>use associated constants (<a href="https://redirect.github.com/achanda/ipnetwork/issues/191">#191</a>)</li>
</ul>
<h3>Other</h3>
<ul>
<li>Update .gitignore</li>
<li>Update publish.yml</li>
<li>Update publish.yml</li>
<li>Replace <code>Ipv{4,6}Network::new_unchecked</code> with <code>Ipv{4,6}Network::new_checked</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/203">#203</a>)</li>
<li>Make the serde feature opt-in instead of opt-out (<a href="https://redirect.github.com/achanda/ipnetwork/pull/200">#200</a>)</li>
<li>Fix typo (<a href="https://redirect.github.com/achanda/ipnetwork/pull/198">#198</a>)</li>
<li>Update publish.yml (<a href="https://redirect.github.com/achanda/ipnetwork/pull/195">#195</a>)</li>
<li><em>(deps)</em> update rust crate serde_json to 1.0.116 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/193">#193</a>)</li>
<li>setup release plz (<a href="https://redirect.github.com/achanda/ipnetwork/issues/192">#192</a>)</li>
<li>Update Rust crate criterion to 0.5.1 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/172">#172</a>)</li>
<li>Update actions/checkout action to v4 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/182">#182</a>)</li>
<li>rewrite core ipv6 methods to operate on u128s  (<a href="https://redirect.github.com/achanda/ipnetwork/issues/187">#187</a>)</li>
<li>move to dtolnay/rust-toolchain and run clippy (<a href="https://redirect.github.com/achanda/ipnetwork/issues/189">#189</a>)</li>
<li>Hash implementation to match PartialEq (<a href="https://redirect.github.com/achanda/ipnetwork/issues/186">#186</a>)</li>
<li>Update Rust crate schemars to 0.8.17 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/184">#184</a>)</li>
<li>Add const unsafe <code>new_unchecked</code> to <code>Ipv4Network</code> &amp; <code>Ipv6Network</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/185">#185</a>)</li>
<li>Update Rust crate schemars to 0.8.15 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/183">#183</a>)</li>
<li>Update Rust crate schemars to 0.8.13 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/181">#181</a>)</li>
<li>Add <code>Ipv6Network::nth</code> to get the nth address (take two) (<a href="https://redirect.github.com/achanda/ipnetwork/pull/176">#176</a>)</li>
<li>Added needed traits to <code>NetworkSize</code> (<a href="https://redirect.github.com/achanda/ipnetwork/pull/175">#175</a>)</li>
<li>Update criterion requirement from 0.4.0 to 0.5.0</li>
<li>Update katyo/publish-crates action to v2</li>
<li>Update actions/checkout action to v3</li>
<li>Update Rust crate schemars to 0.8.12</li>
<li>Add renovate.json</li>
<li>Replace assert_eq with assert for bool comparison</li>
<li>Use cargo clippy --fix to autofix code</li>
<li>Add a reference where missing</li>
<li>Cleanup mask for Ipv4Addr</li>
<li>Shrink the enumerate call on mask</li>
<li>Cleanup both size functions</li>
<li>Simplify FromStr for Ipv6Network</li>
<li>Make parse_prefix more idiomatic</li>
<li>Update criterion requirement from 0.3.4 to 0.4.0 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/162">#162</a>)</li>
<li>Update does-it-json requirement from 0.0.3 to 0.0.4 (<a href="https://redirect.github.com/achanda/ipnetwork/pull/161">#161</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/achanda/ipnetwork/commit/551d1a62b1acb4873bb65af66cc2aac11924c06d"><code>551d1a6</code></a> chore: release v0.21.0 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/204">#204</a>)</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/285cf9d4090a282e10073d568d21500c72d4343f"><code>285cf9d</code></a> Update rust.yml</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/ea467bb744ab5e0b58f9e99b25978895200d93e5"><code>ea467bb</code></a> Update .gitignore</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/209d5432a6a2381d2976dc78831e3d20e5d86a48"><code>209d543</code></a> Update publish.yml</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/16095cb510dcfd8668e6ea9e310e47bfedd40da1"><code>16095cb</code></a> Update publish.yml</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/4f7d898a86c076852c78347dda395271d8a9bd9b"><code>4f7d898</code></a> Replace <code>Ipv{4,6}Network::new_unchecked</code> with <code>Ipv{4,6}Network::new_checked</code> ...</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/d665bb6beb5936f156ad863207f6584934d6ef62"><code>d665bb6</code></a> Make the serde feature opt-in instead of opt-out (<a href="https://redirect.github.com/achanda/ipnetwork/issues/200">#200</a>)</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/ad46759a55eb2e1e3bb8b152848e7792884c9091"><code>ad46759</code></a> fix for 0.0.0.0/0 network (<a href="https://redirect.github.com/achanda/ipnetwork/issues/199">#199</a>)</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/cbf8d6b29ac289a83f2e80f9001e1b59191b89d6"><code>cbf8d6b</code></a> Fix typo (<a href="https://redirect.github.com/achanda/ipnetwork/issues/198">#198</a>)</li>
<li><a href="https://github.com/achanda/ipnetwork/commit/7e0519cd352793b17143349df0d29675b16d4fbe"><code>7e0519c</code></a> fix(deps): update rust crate serde to 1.0.200 (<a href="https://redirect.github.com/achanda/ipnetwork/issues/196">#196</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/achanda/ipnetwork/compare/v0.20.0...v0.21.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ipnetwork&package-manager=cargo&previous-version=0.20.0&new-version=0.21.0)](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>


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index eb05772..c25cbab 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -521,12 +521,11 @@ dependencies = [
 
 [[package]]
 name = "ipnetwork"
-version = "0.20.0"
+version = "0.21.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf466541e9d546596ee94f9f69590f89473455f88372423e0008fc1a7daf100e"
+checksum = "2f7d1e51dceb94e362a3bd4849c5b8b44989faf8b66998fc0a44ff11923393c9"
 dependencies = [
  "schemars",
- "serde",
 ]
 
 [[package]]


Test patch:
diff --git a/typify-test/Cargo.toml b/typify-test/Cargo.toml
index 35884ad..f1cdf3b 100644
--- a/typify-test/Cargo.toml
+++ b/typify-test/Cargo.toml
@@ -9,7 +9,7 @@ serde = "1.0.217"
 serde_json = "1.0.134"
 
 [build-dependencies]
-ipnetwork = { version = "0.20.0", features = ["schemars"] }
+ipnetwork = { version = "0.21.0", features = ["schemars"] }
 prettyplease = "0.2.25"
 schemars = "0.8.21"
 serde = "1.0.217"