Repository: oxidecomputer/typify
Pull request #596 (2024-05-20 13:57:37)

Bump schemars from 0.8.17 to 0.8.20
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.17 to 0.8.20.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/GREsau/schemars/releases">schemars's releases</a>.</em></p>
<blockquote>
<h2>v0.8.20</h2>
<h3>Fixed:</h3>
<ul>
<li>Revert unintentional change in behaviour when combining <code>default</code> and <code>required</code> attributes (<a href="https://redirect.github.com/GREsau/schemars/issues/292">GREsau/schemars#292</a>)</li>
</ul>
<h2>v0.8.19</h2>
<h3>Fixed:</h3>
<ul>
<li>Regression that caused a compile error when deriving <code>JsonSchema</code> on an enum with no variants (<a href="https://redirect.github.com/GREsau/schemars/issues/287">GREsau/schemars#287</a>)</li>
</ul>
<h2>v0.8.18</h2>
<h3>Fixed:</h3>
<ul>
<li>Reduce size of MIR output (and improve release-mode compile time) when deriving <code>JsonSchema</code> on enums (<a href="https://redirect.github.com/GREsau/schemars/pull/266">GREsau/schemars#266</a> / <a href="https://redirect.github.com/GREsau/schemars/pull/286">GREsau/schemars#286</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/GREsau/schemars/blob/master/CHANGELOG.md">schemars's changelog</a>.</em></p>
<blockquote>
<h2>[0.8.20] - 2024-05-18</h2>
<h3>Fixed:</h3>
<ul>
<li>Revert unintentional change in behaviour when combining <code>default</code> and <code>required</code> attributes (<a href="https://redirect.github.com/GREsau/schemars/issues/292">GREsau/schemars#292</a>)</li>
</ul>
<h2>[0.8.19] - 2024-05-06</h2>
<h3>Fixed:</h3>
<ul>
<li>Regression that caused a compile error when deriving <code>JsonSchema</code> on an enum with no variants (<a href="https://redirect.github.com/GREsau/schemars/issues/287">GREsau/schemars#287</a>)</li>
</ul>
<h2>[0.8.18] - 2024-05-06</h2>
<h3>Fixed:</h3>
<ul>
<li>Reduce size of MIR output (and improve release-mode compile time) when deriving <code>JsonSchema</code> on enums (<a href="https://redirect.github.com/GREsau/schemars/pull/266">GREsau/schemars#266</a> / <a href="https://redirect.github.com/GREsau/schemars/pull/286">GREsau/schemars#286</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/GREsau/schemars/commit/7ecaa7feabc2d7061bd61af78de3b64fdea00280"><code>7ecaa7f</code></a> Revert unintentional change in behaviour when combining <code>default</code> and `requir...</li>
<li><a href="https://github.com/GREsau/schemars/commit/cf5be1b266add95212bdcec8fecd8c330a119558"><code>cf5be1b</code></a> Ignore failing test</li>
<li><a href="https://github.com/GREsau/schemars/commit/449bb1a0ca64ddb549c95d8ebb5d210bebd187e8"><code>449bb1a</code></a> Add more tests for different schema settings</li>
<li><a href="https://github.com/GREsau/schemars/commit/7f6a7b7e32224df2da6c0fd6491a3ab29296977d"><code>7f6a7b7</code></a> Typo in changelog</li>
<li><a href="https://github.com/GREsau/schemars/commit/8da70a4d458e434444a0fca2d0f058a8e6870890"><code>8da70a4</code></a> v0.8.19</li>
<li><a href="https://github.com/GREsau/schemars/commit/1a40d1b06c1acb82aa00ae6776cf8c67f0b3874b"><code>1a40d1b</code></a> Fix deriving JsonSchema on enum without variants</li>
<li><a href="https://github.com/GREsau/schemars/commit/4b90b6f8c88bad2c2fc534f0b3f7e851dfe6b7bf"><code>4b90b6f</code></a> v0.8.18</li>
<li><a href="https://github.com/GREsau/schemars/commit/d04c17bda49ac6e289134315b9c8544d37a83f87"><code>d04c17b</code></a> Simplify generated enum code (<a href="https://redirect.github.com/GREsau/schemars/issues/286">#286</a>)</li>
<li>See full diff in <a href="https://github.com/GREsau/schemars/compare/v0.8.17...v0.8.20">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=schemars&package-manager=cargo&previous-version=0.8.17&new-version=0.8.20)](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 974628d..852eba1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -871,9 +871,9 @@ dependencies = [
 
 [[package]]
 name = "schemars"
-version = "0.8.17"
+version = "0.8.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f55c82c700538496bdc329bb4918a81f87cc8888811bd123cf325a0f2f8d309"
+checksum = "b0218ceea14babe24a4a5836f86ade86c1effbc198164e619194cb5069187e29"
 dependencies = [
  "dyn-clone",
  "schemars_derive",
@@ -884,9 +884,9 @@ dependencies = [
 
 [[package]]
 name = "schemars_derive"
-version = "0.8.17"
+version = "0.8.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83263746fe5e32097f06356968a077f96089739c927a61450efa069905eec108"
+checksum = "3ed5a1ccce8ff962e31a165d41f6e2a2dd1245099dc4d594f5574a86cd90f4d3"
 dependencies = [
  "proc-macro2",
  "quote",
diff --git a/cargo-typify/Cargo.toml b/cargo-typify/Cargo.toml
index 33a38cf..6e1a91d 100644
--- a/cargo-typify/Cargo.toml
+++ b/cargo-typify/Cargo.toml
@@ -20,7 +20,7 @@ env_logger = "0.10"
 rustfmt-wrapper = "0.2.1"
 semver = "1.0.22"
 serde_json = "1.0.117"
-schemars = "0.8.17"
+schemars = "0.8.20"
 
 [dev-dependencies]
 assert_cmd = "2.0.14"
diff --git a/typify-impl/Cargo.toml b/typify-impl/Cargo.toml
index c7a70c4..60d5f89 100644
--- a/typify-impl/Cargo.toml
+++ b/typify-impl/Cargo.toml
@@ -13,7 +13,7 @@ log = "0.4.21"
 proc-macro2 = "1.0.81"
 quote = "1.0.36"
 regress = "0.9.1"
-schemars = "0.8.17"
+schemars = "0.8.20"
 semver = "1.0.22"
 serde = "1.0.200"
 serde_json = "1.0.117"
@@ -28,6 +28,6 @@ expectorate = "1.1.0"
 paste = "1.0.15"
 rustfmt-wrapper = "0.2.1"
 schema = "0.1.0"
-schemars = { version = "0.8.17", features = ["uuid1", "impl_json_schema"] }
+schemars = { version = "0.8.20", features = ["uuid1", "impl_json_schema"] }
 syn = { version = "2.0.63", features = ["full", "extra-traits"] }
 uuid = "1.8.0"
diff --git a/typify-macro/Cargo.toml b/typify-macro/Cargo.toml
index b6732df..48568ad 100644
--- a/typify-macro/Cargo.toml
+++ b/typify-macro/Cargo.toml
@@ -13,7 +13,7 @@ proc-macro = true
 [dependencies]
 proc-macro2 = "1.0.81"
 quote = "1.0.36"
-schemars = "0.8.17"
+schemars = "0.8.20"
 semver = { version = "1.0.22", features = ["serde"] }
 serde = "1.0.200"
 serde_json = "1.0.117"
diff --git a/typify/Cargo.toml b/typify/Cargo.toml
index 1da0447..cb4332d 100644
--- a/typify/Cargo.toml
+++ b/typify/Cargo.toml
@@ -25,7 +25,7 @@ glob = "0.3.1"
 quote = "1.0.36"
 regress = "0.9.1"
 rustfmt-wrapper = "0.2.1"
-schemars = "0.8.17"
+schemars = "0.8.20"
 serde = "1.0.200"
 serde_json = "1.0.117"
 trybuild = "1.0.95"


Test patch:
diff --git a/typify-test/Cargo.toml b/typify-test/Cargo.toml
index 1073576..77b5e13 100644
--- a/typify-test/Cargo.toml
+++ b/typify-test/Cargo.toml
@@ -11,7 +11,7 @@ serde_json = "1.0.117"
 [build-dependencies]
 ipnetwork = { version = "0.20.0", features = ["schemars"] }
 prettyplease = "0.2.19"
-schemars = "0.8.17"
+schemars = "0.8.20"
 serde = "1.0.200"
 syn = "2.0.63"
 typify = { path = "../typify" }