alamb opened a new pull request, #938:
URL: https://github.com/apache/arrow-rs-object-store/pull/938

   # Which issue does this PR close?
   
   - Related to #910 (RUSTSEC-2026-0542: humantime unmaintained)
   - Related to #292
   - Alternative to #908
   
   # Rationale for this change
   
   `humantime` is unmaintained, but replacing it with `jiff` changes which 
duration strings are accepted and how durations are formatted (see the 
discussion on #908).
   
   This PR removes the dependency without changing behavior, by copying the 
small amount of `humantime` code we use into this crate. The plan is to switch 
to `jiff` in the next major release.
   
   # What changes are included in this PR?
   
   - New private module `src/config/humantime.rs`, copied from 
[`src/duration.rs` in humantime 
2.4.0](https://github.com/chronotope/humantime/blob/fc092817fa8689298eaac28ff49bd8bede4ff605/src/duration.rs)
 (MIT OR Apache-2.0). The changes from the original are listed at the top of 
the file.
   - Attribution in `NOTICE.txt`
   - Remove the `humantime` dependency
   
   # Are there any user-facing changes?
   
   No changes to which strings are accepted or how durations are formatted, as 
covered by the tests added in #936.
   
   The one exception: inputs such as `18446744073709551615s 1000ms` made 
`humantime` panic and now return an error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to