Skip to content

chore(deps): bump the cargo-dependencies group with 5 updates #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2025

Bumps the cargo-dependencies group with 5 updates:

Package From To
clap 4.5.41 4.5.42
nutype 0.6.1 0.6.2
rustls 0.23.29 0.23.31
serde_json 1.0.140 1.0.142
tokio 1.46.1 1.47.1

Updates clap from 4.5.41 to 4.5.42

Release notes

Sourced from clap's releases.

v4.5.42

[4.5.42] - 2025-07-30

Fixes

  • Include subcommand visible long aliases in --help
Changelog

Sourced from clap's changelog.

[4.5.42] - 2025-07-30

Fixes

  • Include subcommand visible long aliases in --help
Commits
  • 27cc4b7 chore: Release
  • 16a4fc7 docs: Update changelog
  • 07f9f15 Merge pull request #5874 from tetzng/fix-fish-completions
  • 721deab chore: Release
  • a4be55b docs: Update changelog
  • fd5e691 Merge pull request #5877 from therealprof/features/use-btreemap-instead-of-so...
  • 6604e79 Use BTreeMap instead of a sorted Vec
  • 28e163a fix(complete): Remove {} and replace commas with newlines
  • b5a47c4 chore: Release
  • b154a7a docs: Update changelog
  • Additional commits viewable in compare view

Updates nutype from 0.6.1 to 0.6.2

Release notes

Sourced from nutype's releases.

Nutype 0.6.2 - derive_unsafe

What is nutype?

Nutype is a proc macro that adds sanitization_ and validation to newtypes, ensuring values always pass checks.

Changes in v0.6.2

  • [FEATURE] Introduce derive_unsafe(..) attribute to derive any arbitrary trait (requires derive_unsafe feature to be enabled).
  • [FIX] Updated the Rust edition: 2021 → 2024.
  • [FIX] Improved error messages for len_char_max and len_char_min validators. They are now clearer and easier to understand.

derive_unsafe

You can now use the new derive_unsafe(..) attribute to derive arbitrary traits, including third-party ones, which are not known to nutype.

Unlike derive(..), this mechanism bypasses nutype’s internal safety checks, meaning it's possible to violate validation rules at runtime if you're deriving a trait that has methods that instantiate or mutate a value.

It requires derive_unsafe feature flag to be enabled.

Example (do not copy blindly):

use derive_more::{Deref, DerefMut};
use nutype::nutype;
#[nutype(
derive(Debug, AsRef),
derive_unsafe(Deref, DerefMut),
validate(greater_or_equal = 0.0, less_or_equal = 2.0)
)]
struct LlmTemperature(f64);
fn main() {
let mut temperature = LlmTemperature::try_new(1.5).unwrap();
// This is not what nutype is designed for!
*temperature = 2.5;
// OH no, we've just violated the validation rule!
assert_eq!(temperature.as_ref(), &2.5);

}

The takeaway: derive_unsafe gives you raw power—but you’re on your own to ensure your type’s invariants aren't broken.

On that note, have a nice day!.

Changelog

Sourced from nutype's changelog.

v0.6.2 - 2025-06-30

  • [FEATURE] Introduce derive_unsafe(..) attribute to derive any arbitrary trait (requires derive_unsafe feature to be enabled).
  • [FIX] Update Rust edition: 2021 -> 2024.
  • [FIX] Improve error messages for len_char_max and len_char_min validators.
Commits
  • f133db2 Merge pull request #220 from greyblake/prepare-v062
  • c30f0f5 Prepare v0.6.2
  • ee74cd9 Merge pull request #219 from greyblake/derive-unsafe
  • ad59da2 Fix doc tests
  • ade948a Fix typo: temprature -> temperature
  • d4163d3 Add documentation on derive_unsafe()
  • 11ab03e Add derive_unsafe to the CHANGELOG
  • fc75a56 Add test and example for derive_unsafe
  • 43cb451 Add derive_unsafe feature flag
  • c9c6eec Update GLOSSARY
  • Additional commits viewable in compare view

Updates rustls from 0.23.29 to 0.23.31

Commits
  • 647ece1 Prepare 0.23.31
  • b2831e7 rustls-bench: short circuit single threaded tests
  • 668231f Improve testing of non-blocking complete_io()
  • 5e5d629 complete_io: make non-blocking error return reachable
  • 2a852c0 Exit complete_io loop as soon as no progress is made
  • 2f487cf rustls-test: withdraw FailsReads helper
  • 41bfb22 rustls-test: add helper for non-blocking IO tests
  • 0ccbc63 Cargo: rustls version 0.23.29 -> 0.23.30
  • 4c16f03 Fix: Do not try to call deframer on junk data
  • 6b9df65 sign: make public_key_to_spki() public
  • Additional commits viewable in compare view

Updates serde_json from 1.0.140 to 1.0.142

Release notes

Sourced from serde_json's releases.

v1.0.142

v1.0.141

Commits
  • 1731167 Release 1.0.142
  • e51c814 Touch up PR 1265
  • 84abbdb Merge pull request #1265 from aatifsyed/master
  • 6843c36 Release 1.0.141
  • 6e2c210 Touch up PR 1273
  • 623d9b4 Merge pull request #1273 from conradludgate/optimise-string-escaping
  • de70b7d use unreachable_unchecked for escape table. use a second match to roundtrip E...
  • f2d940d replace start index with bytes slice reference
  • 9206cc0 feat: impl Default for &Value
  • cd55b5a Ignore mismatched_lifetime_syntaxes lint
  • Additional commits viewable in compare view

Updates tokio from 1.46.1 to 1.47.1

Release notes

Sourced from tokio's releases.

Tokio v1.47.1

1.47.1 (August 1st, 2025)

Fixed

  • process: fix panic from spurious pidfd wakeup (#7494)
  • sync: fix broken link of Python asyncio.Event in SetOnce docs (#7485)

#7485: tokio-rs/tokio#7485 #7494: tokio-rs/tokio#7494

Tokio v1.47.0

1.47.0 (July 25th, 2025)

This release adds poll_proceed and cooperative to the coop module for cooperative scheduling, adds SetOnce to the sync module which provides similar functionality to [std::sync::OnceLock], and adds a new method sync::Notify::notified_owned() which returns an OwnedNotified without a lifetime parameter.

Added

  • coop: add cooperative and poll_proceed (#7405)
  • sync: add SetOnce (#7418)
  • sync: add sync::Notify::notified_owned() (#7465)

Changed

  • deps: upgrade windows-sys 0.52 → 0.59 (#7117)
  • deps: update to socket2 v0.6 (#7443)
  • sync: improve AtomicWaker::wake performance (#7450)

Documented

  • metrics: fix listed feature requirements for some metrics (#7449)
  • runtime: improve safety comments of Readiness<'_> (#7415)

#7405: tokio-rs/tokio#7405 #7415: tokio-rs/tokio#7415 #7418: tokio-rs/tokio#7418 #7449: tokio-rs/tokio#7449 #7450: tokio-rs/tokio#7450 #7465: tokio-rs/tokio#7465

Commits

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 commands and options

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

Bumps the cargo-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.41` | `4.5.42` |
| [nutype](https://github.com/greyblake/nutype) | `0.6.1` | `0.6.2` |
| [rustls](https://github.com/rustls/rustls) | `0.23.29` | `0.23.31` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.140` | `1.0.142` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.46.1` | `1.47.1` |


Updates `clap` from 4.5.41 to 4.5.42
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.41...clap_complete-v4.5.42)

Updates `nutype` from 0.6.1 to 0.6.2
- [Release notes](https://github.com/greyblake/nutype/releases)
- [Changelog](https://github.com/greyblake/nutype/blob/master/CHANGELOG.md)
- [Commits](greyblake/nutype@v0.6.1...v0.6.2)

Updates `rustls` from 0.23.29 to 0.23.31
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](rustls/rustls@v/0.23.29...v/0.23.31)

Updates `serde_json` from 1.0.140 to 1.0.142
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.140...v1.0.142)

Updates `tokio` from 1.46.1 to 1.47.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.46.1...tokio-1.47.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.42
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: nutype
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: rustls
  dependency-version: 0.23.31
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: serde_json
  dependency-version: 1.0.142
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tokio
  dependency-version: 1.47.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 5, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.74%. Comparing base (2843f81) to head (89e5e2c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   37.74%   37.74%           
=======================================
  Files           7        7           
  Lines         408      408           
=======================================
  Hits          154      154           
  Misses        254      254           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshka joshka merged commit cce4035 into main Aug 5, 2025
10 of 11 checks passed
@joshka joshka deleted the dependabot/cargo/cargo-dependencies-7aa81e2452 branch August 5, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants