deps(deps): bump nutype from 0.6.2 to 0.7.0 #381

Merged
dependabot[bot] merged 1 commit from dependabot/cargo/nutype-0.7.0 into main 2026-04-27 13:21:38 -07:00
dependabot[bot] commented 2026-04-27 09:16:27 -07:00 (Migrated from github.com)

Bumps nutype from 0.6.2 to 0.7.0.

Changelog

Sourced from nutype's changelog.

v0.7.0 - 2026-04-25

  • [BREAKING] Rename derive_unsafe to derive_unchecked (both the feature flag and the attribute).
  • [FEATURE] Support cfg_attr for conditional derives, e.g. cfg_attr(feature = "serde", derive(Serialize, Deserialize)). Supports complex predicates and multiple entries.
  • [FEATURE] Support where clauses in generic newtypes, including Higher-Ranked Trait Bounds (HRTB) like for<'a> &'a C: IntoIterator (see #160).
  • [FEATURE] Ability to control constructor visibility with constructor(visibility = ...) attribute (see #211).
  • [FEATURE] Add len_utf16_min and len_utf16_max validators for string types to validate UTF-16 code unit length (useful for JavaScript interop) (see #162).
  • [FEATURE] Ability to derive Valuable (requires valuable feature).
Commits
  • e951afd Merge pull request #238 from greyblake/preapre-v070
  • a3ea381 Prepare v0.7.0
  • 7464ec7 Merge pull request #235 from greyblake/cfg-attr-v2
  • f33c097 Address clippy: use core:#️⃣:Hash
  • 0c915cd Refactor: introduce HasGeneratedParseError trait
  • 20d5549 Refactor: DRY, extract process_conditional_derives()
  • 1541bc3 Import validate_all_derive_traits
  • 93b7298 Fix wording
  • 51437fe Use impls to test trait bounds
  • e4b1e9c Move validation logic out of models.rs
  • Additional commits viewable in compare view

Bumps [nutype](https://github.com/greyblake/nutype) from 0.6.2 to 0.7.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/greyblake/nutype/blob/master/CHANGELOG.md">nutype's changelog</a>.</em></p> <blockquote> <h3>v0.7.0 - 2026-04-25</h3> <ul> <li><strong>[BREAKING]</strong> Rename <code>derive_unsafe</code> to <code>derive_unchecked</code> (both the feature flag and the attribute).</li> <li><strong>[FEATURE]</strong> Support <code>cfg_attr</code> for conditional derives, e.g. <code>cfg_attr(feature = &quot;serde&quot;, derive(Serialize, Deserialize))</code>. Supports complex predicates and multiple entries.</li> <li><strong>[FEATURE]</strong> Support <code>where</code> clauses in generic newtypes, including Higher-Ranked Trait Bounds (HRTB) like <code>for&lt;'a&gt; &amp;'a C: IntoIterator</code> (see <a href="https://redirect.github.com/greyblake/nutype/issues/160">#160</a>).</li> <li><strong>[FEATURE]</strong> Ability to control constructor visibility with <code>constructor(visibility = ...)</code> attribute (see <a href="https://redirect.github.com/greyblake/nutype/issues/211">#211</a>).</li> <li><strong>[FEATURE]</strong> Add <code>len_utf16_min</code> and <code>len_utf16_max</code> validators for string types to validate UTF-16 code unit length (useful for JavaScript interop) (see <a href="https://redirect.github.com/greyblake/nutype/issues/162">#162</a>).</li> <li><strong>[FEATURE]</strong> Ability to derive <a href="https://docs.rs/valuable/0.1.1/valuable/trait.Valuable.html"><code>Valuable</code></a> (requires <code>valuable</code> feature).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/greyblake/nutype/commit/e951afd4b9e8a4a39ae12c8626ebcde31cdc0678"><code>e951afd</code></a> Merge pull request <a href="https://redirect.github.com/greyblake/nutype/issues/238">#238</a> from greyblake/preapre-v070</li> <li><a href="https://github.com/greyblake/nutype/commit/a3ea3814199eb6c089ea3d7a03d48f3bb011a33a"><code>a3ea381</code></a> Prepare v0.7.0</li> <li><a href="https://github.com/greyblake/nutype/commit/7464ec78aef7fc125ddb1e408258944d6da1c5fd"><code>7464ec7</code></a> Merge pull request <a href="https://redirect.github.com/greyblake/nutype/issues/235">#235</a> from greyblake/cfg-attr-v2</li> <li><a href="https://github.com/greyblake/nutype/commit/f33c0979d7efc42656e76eacb9b56a5424fa61b1"><code>f33c097</code></a> Address clippy: use core::hash::Hash</li> <li><a href="https://github.com/greyblake/nutype/commit/0c915cdb2489d799015e37e5a79ffdb976dd1933"><code>0c915cd</code></a> Refactor: introduce HasGeneratedParseError trait</li> <li><a href="https://github.com/greyblake/nutype/commit/20d55498f7ecd2115c2f2b2fcd87a4267995a750"><code>20d5549</code></a> Refactor: DRY, extract process_conditional_derives()</li> <li><a href="https://github.com/greyblake/nutype/commit/1541bc3f4d68f230f3bc3fdd3a1c30a1d5089a63"><code>1541bc3</code></a> Import validate_all_derive_traits</li> <li><a href="https://github.com/greyblake/nutype/commit/93b7298b0bdfed7672cf3a65d91f553f0ad70a01"><code>93b7298</code></a> Fix wording</li> <li><a href="https://github.com/greyblake/nutype/commit/51437fe7c3302b56dbcd520064198754992ebbf1"><code>51437fe</code></a> Use impls to test trait bounds</li> <li><a href="https://github.com/greyblake/nutype/commit/e4b1e9c9e5ce9d805c7489ae6e820855653609fa"><code>e4b1e9c</code></a> Move validation logic out of models.rs</li> <li>Additional commits viewable in <a href="https://github.com/greyblake/nutype/compare/v0.6.2...v0.7.0">compare view</a></li> </ul> </details> <br />
coderabbitai[bot] commented 2026-04-27 09:16:41 -07:00 (Migrated from github.com)

Warning

Rate limit exceeded

@dependabot[bot] has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 3 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 52ed9dc2-2a0f-44f7-b2a7-ef034eeb3848

📥 Commits

Reviewing files that changed from the base of the PR and between 9ea46c30a5452083115aac4c78255820aa157297 and ac5429f6a6.

Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • eventcore-bench/Cargo.toml
  • eventcore-examples/Cargo.toml
  • eventcore-postgres/Cargo.toml
  • eventcore-stress/Cargo.toml
  • eventcore-testing/Cargo.toml
  • eventcore-types/Cargo.toml
  • eventcore/Cargo.toml
📝 Walkthrough

Walkthrough

Updates the nutype dependency from 0.6.2 to 0.7.0 across seven workspace crates, preserving the serde feature flag in each Cargo manifest.

Changes

Cohort / File(s) Summary
Dependency Version Updates
eventcore-bench/Cargo.toml, eventcore-examples/Cargo.toml, eventcore-postgres/Cargo.toml, eventcore-stress/Cargo.toml, eventcore-testing/Cargo.toml, eventcore-types/Cargo.toml, eventcore/Cargo.toml
Bumps nutype from 0.6.2 to 0.7.0 in each manifest; features = ["serde"] retained across all entries.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested labels

automated


Comment @coderabbitai help to get the list of available commands and usage tips.

<!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: rate limited by coderabbit.ai --> > [!WARNING] > ## Rate limit exceeded > > `@dependabot`[bot] has exceeded the limit for the number of commits that can be reviewed per hour. Please wait **14 minutes and 3 seconds** before requesting another review. > > To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under [billing](https://app.coderabbit.ai/settings/subscription?tab=usage). > > <details> > <summary>⌛ How to resolve this issue?</summary> > > After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. > > We recommend that you space out your commits to avoid hitting the rate limit. > > </details> > > > <details> > <summary>🚦 How do rate limits work?</summary> > > CodeRabbit enforces hourly rate limits for each developer per organization. > > Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. > > Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information. > > </details> > > <details> > <summary>ℹ️ Review info</summary> > > <details> > <summary>⚙️ Run configuration</summary> > > **Configuration used**: Organization UI > > **Review profile**: ASSERTIVE > > **Plan**: Pro Plus > > **Run ID**: `52ed9dc2-2a0f-44f7-b2a7-ef034eeb3848` > > </details> > > <details> > <summary>📥 Commits</summary> > > Reviewing files that changed from the base of the PR and between 9ea46c30a5452083115aac4c78255820aa157297 and ac5429f6a652468f8882c9df8531979758b5353e. > > </details> > > <details> > <summary>⛔ Files ignored due to path filters (1)</summary> > > * `Cargo.lock` is excluded by `!**/*.lock` > > </details> > > <details> > <summary>📒 Files selected for processing (7)</summary> > > * `eventcore-bench/Cargo.toml` > * `eventcore-examples/Cargo.toml` > * `eventcore-postgres/Cargo.toml` > * `eventcore-stress/Cargo.toml` > * `eventcore-testing/Cargo.toml` > * `eventcore-types/Cargo.toml` > * `eventcore/Cargo.toml` > > </details> > > </details> <!-- end of auto-generated comment: rate limited by coderabbit.ai --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough Updates the `nutype` dependency from `0.6.2` to `0.7.0` across seven workspace crates, preserving the `serde` feature flag in each Cargo manifest. ## Changes |Cohort / File(s)|Summary| |---|---| |**Dependency Version Updates** <br> `eventcore-bench/Cargo.toml`, `eventcore-examples/Cargo.toml`, `eventcore-postgres/Cargo.toml`, `eventcore-stress/Cargo.toml`, `eventcore-testing/Cargo.toml`, `eventcore-types/Cargo.toml`, `eventcore/Cargo.toml`|Bumps `nutype` from `0.6.2` to `0.7.0` in each manifest; `features = ["serde"]` retained across all entries.| ## Estimated code review effort 🎯 1 (Trivial) | ⏱️ ~2 minutes ## Suggested labels `automated` </details> <!-- walkthrough_end --> <!-- tips_start --> --- <sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub> <!-- tips_end --> <!-- internal state start --> <!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKPR1AGxJcl3RAApfRABKLgFHbkgMPFluEkgAMwoWSAAGDQA2DQAmSAI0jQB2DVTIf1tIMwBmA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IRghWCmJ0Bpi4DFgoZ0DiSsDqDiQdi4C+ocCpAAC+dqUAQFIFBMYFsIrY/5NqQAA=== --> <!-- internal state end -->
coderabbitai[bot] (Migrated from github.com) reviewed 2026-04-27 09:18:51 -07:00
coderabbitai[bot] (Migrated from github.com) approved these changes 2026-04-27 10:38:41 -07:00
Sign in to join this conversation.
No description provided.