Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2026

Bumps time from 0.3.45 to 0.3.46.

Release notes

Sourced from time's releases.

v0.3.46

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.46 [2026-01-23]

Added

  • All possible panics are now documented for the relevant methods.

  • The need to use #[serde(default)] when using custom serde formats is documented. This applies only when deserializing an Option<T>.

  • Duration::nanoseconds_i128 has been made public, mirroring std::time::Duration::from_nanos_u128.

  • Various methods for truncating components have been added, avoiding the need to call the fallible replace methods multiple times.

    For PrimitiveDateTime, UtcDateTime, and OffsetDateTime:

    • truncate_to_day

    For Time, PrimitiveDateTime, UtcDateTime, and OffsetDateTime:

    • truncate_to_hour
    • truncate_to_minute
    • truncate_to_second
    • truncate_to_millisecond
    • truncate_to_microsecond

Changed

  • The minimum supported Rust version is now 1.88.0.
  • Significant performance gains in numerous locations. No public APIs were changed or removed as part of this.
  • The size of error::ComponentRange, along with types that contain it, has been significantly reduced.

Fixed

  • The PartialOrd and Ord implementations of UtcOffset now return the expected result.
Commits
  • 14da652 v0.3.46 release
  • f0798a4 Always use where clauses over inline bounds
  • a74c055 More accurately represent lifetimes in parser
  • d5d339c Address lints from latest rustc
  • 3a60ceb Fix ordering of UtcOffset
  • 7d05f5e Document need to use #[serde(default)]
  • 37c44a4 Remove panic optimization
  • b8b879a Add methods for truncation
  • c75687b Reduce amount of macro-generated code
  • 7ad7a2d Simplify ComponentRange error type
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 26, 2026
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Results

Details
Benchmark Current: e18cc9e Previous: 7ffff04 Performance Ratio
startup_benchmark Build Time 99.16 s 98.94 s 1.00
startup_benchmark File Size 0.87 MB 0.87 MB 1.00
Startup Time - 1 core 0.93 s (±0.03 s) 0.94 s (±0.03 s) 1.00
Startup Time - 2 cores 0.96 s (±0.03 s) 0.97 s (±0.02 s) 0.99
Startup Time - 4 cores 0.94 s (±0.03 s) 0.96 s (±0.02 s) 0.99
multithreaded_benchmark Build Time 95.84 s 100.36 s 0.95
multithreaded_benchmark File Size 0.96 MB 0.97 MB 1.00
Multithreaded Pi Efficiency - 2 Threads 88.32 % (±9.02 %) 89.30 % (±6.67 %) 0.99
Multithreaded Pi Efficiency - 4 Threads 44.83 % (±3.49 %) 44.30 % (±2.21 %) 1.01
Multithreaded Pi Efficiency - 8 Threads 25.87 % (±2.04 %) 25.91 % (±1.76 %) 1.00
micro_benchmarks Build Time 94.46 s 100.83 s 0.94
micro_benchmarks File Size 0.97 MB 0.97 MB 1.00
Scheduling time - 1 thread 67.64 ticks (±2.89 ticks) 68.31 ticks (±2.14 ticks) 0.99
Scheduling time - 2 threads 38.12 ticks (±6.13 ticks) 40.77 ticks (±6.21 ticks) 0.93
Micro - Time for syscall (getpid) 3.09 ticks (±0.39 ticks) 3.11 ticks (±0.40 ticks) 0.99
Memcpy speed - (built_in) block size 4096 66926.15 MByte/s (±47667.46 MByte/s) 64544.73 MByte/s (±45733.17 MByte/s) 1.04
Memcpy speed - (built_in) block size 1048576 29621.83 MByte/s (±24199.40 MByte/s) 29483.97 MByte/s (±24155.39 MByte/s) 1.00
Memcpy speed - (built_in) block size 16777216 28503.56 MByte/s (±23706.56 MByte/s) 24876.58 MByte/s (±20938.20 MByte/s) 1.15
Memset speed - (built_in) block size 4096 67351.34 MByte/s (±47952.04 MByte/s) 65233.47 MByte/s (±46256.51 MByte/s) 1.03
Memset speed - (built_in) block size 1048576 30321.35 MByte/s (±24614.71 MByte/s) 30250.65 MByte/s (±24589.44 MByte/s) 1.00
Memset speed - (built_in) block size 16777216 29282.63 MByte/s (±24151.86 MByte/s) 25623.19 MByte/s (±21407.86 MByte/s) 1.14
Memcpy speed - (rust) block size 4096 62891.58 MByte/s (±46451.91 MByte/s) 57860.64 MByte/s (±42962.36 MByte/s) 1.09
Memcpy speed - (rust) block size 1048576 29514.69 MByte/s (±24219.18 MByte/s) 29175.18 MByte/s (±24111.18 MByte/s) 1.01
Memcpy speed - (rust) block size 16777216 28545.03 MByte/s (±23755.23 MByte/s) 25264.25 MByte/s (±21186.57 MByte/s) 1.13
Memset speed - (rust) block size 4096 63706.20 MByte/s (±46918.83 MByte/s) 58519.98 MByte/s (±43346.54 MByte/s) 1.09
Memset speed - (rust) block size 1048576 30240.65 MByte/s (±24625.79 MByte/s) 29910.84 MByte/s (±24537.22 MByte/s) 1.01
Memset speed - (rust) block size 16777216 29278.87 MByte/s (±24159.01 MByte/s) 25933.86 MByte/s (±21574.47 MByte/s) 1.13
alloc_benchmarks Build Time 92.72 s 98.11 s 0.95
alloc_benchmarks File Size 0.94 MB 0.94 MB 1.00
Allocations - Allocation success 100.00 % 100.00 % 1
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 100.00 % 100.00 % 1
Allocations - Average Allocation time 9175.09 Ticks (±119.79 Ticks) 9331.64 Ticks (±110.51 Ticks) 0.98
Allocations - Average Allocation time (no fail) 9175.09 Ticks (±119.79 Ticks) 9331.64 Ticks (±110.51 Ticks) 0.98
Allocations - Average Deallocation time 888.97 Ticks (±268.44 Ticks) 910.94 Ticks (±256.44 Ticks) 0.98
mutex_benchmark Build Time 93.28 s 93.10 s 1.00
mutex_benchmark File Size 0.97 MB 0.97 MB 1.00
Mutex Stress Test Average Time per Iteration - 1 Threads 12.66 ns (±0.68 ns) 12.82 ns (±0.62 ns) 0.99
Mutex Stress Test Average Time per Iteration - 2 Threads 13.26 ns (±0.91 ns) 13.52 ns (±1.06 ns) 0.98

This comment was automatically generated by workflow using github-action-benchmark.

@mkroening mkroening added this pull request to the merge queue Jan 27, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 27, 2026
@dependabot dependabot bot force-pushed the dependabot/cargo/time-0.3.46 branch from 132479a to 07949ee Compare January 27, 2026 22:39
Bumps [time](https://github.com/time-rs/time) from 0.3.45 to 0.3.46.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.45...v0.3.46)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.46
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/time-0.3.46 branch from 07949ee to e18cc9e Compare January 27, 2026 23:21
@mkroening mkroening added this pull request to the merge queue Jan 28, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 28, 2026
@mkroening mkroening added this pull request to the merge queue Jan 28, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2026

Dependabot attempted to update this pull request, but because the branch dependabot/cargo/time-0.3.46 is protected it was unable to do so.

Merged via the queue into main with commit 7f26e8d Jan 28, 2026
19 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/time-0.3.46 branch January 28, 2026 08:32
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.

1 participant