fix(deps): update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
anyhow | dependencies | patch |
1.0.82 -> 1.0.95
|
backon | dependencies | minor |
0.4.4 -> 0.5.0
|
clap | dependencies | patch |
4.5.4 -> 4.5.23
|
env_logger | dependencies | patch |
0.11.3 -> 0.11.6
|
futures (source) | dependencies | patch |
0.3.30 -> 0.3.31
|
indicatif | dependencies | patch |
0.17.8 -> 0.17.9
|
lazy_static | dependencies | minor |
1.4.0 -> 1.5.0
|
log | dependencies | patch |
0.4.21 -> 0.4.22
|
prometheus | dependencies | patch |
0.13.3 -> 0.13.4
|
reqwest | dependencies | patch |
0.12.4 -> 0.12.9
|
serde (source) | dependencies | patch |
1.0.198 -> 1.0.216
|
thiserror | dependencies | patch |
1.0.59 -> 1.0.69
|
tokio (source) | dependencies | minor |
1.37.0 -> 1.42.0
|
Release Notes
dtolnay/anyhow (anyhow)
v1.0.95
- Add
Error::from_boxed
(#401, #402)
v1.0.94
- Documentation improvements
v1.0.93
- Update dev-dependencies to
thiserror
v2
v1.0.92
- Support Rust 1.82's
&raw const
and&raw mut
syntax insideensure!
(#390)
v1.0.91
- Ensure OUT_DIR is left with deterministic contents after build script execution (#388)
v1.0.90
- Documentation improvements
v1.0.89
- Make anyhow::Error's
UnwindSafe
andRefUnwindSafe
impl consistently available between versions of Rust newer and older than 1.72 (#386)
v1.0.88
- Documentation improvements
v1.0.87
- Support more APIs, including
Error::new
andError::chain
, in no-std mode on Rust 1.81+ (#383)
v1.0.86
- Fix parse error in
ensure!
with non-literal after minus sign (#373)
v1.0.85
v1.0.84
- Disallow calling
ensure!
through aNot
impl for a type that is notbool
(#367)
v1.0.83
- Integrate compile-time checking of cfgs (#363)
Xuanwo/backon (backon)
v0.5.0
Upgrade
Since version 0.5.0, backon no longer directly depends on tokio
. Instead, users can now provide their own sleep implementation.
For example:
use anyhow::Result;
use backon::ExponentialBuilder;
use backon::Retryable;
use std::future::ready;
async fn main() -> Result<()> {
let content = fetch
.retry(&ExponentialBuilder::default())
.sleep(tokio::time::sleep)
.await?;
Ok(())
}
To maintain the same behavior as before, please enable the tokio-sleep
feature.
What's Changed
- Remove duplicate example, point to examples on docs index page by @matildasmeds in https://github.com/Xuanwo/backon/pull/84
- ci: Use macos-latest for test by @Xuanwo in https://github.com/Xuanwo/backon/pull/87
- feat: Remove dependences on pin_project and futures_core by @Xuanwo in https://github.com/Xuanwo/backon/pull/86
- docs: Add an example for sqlx by @Xuanwo in https://github.com/Xuanwo/backon/pull/91
- Use wasm-compatible sleep if compiled for wasm32 by @wackazong in https://github.com/Xuanwo/backon/pull/92
- feat: Allow user to provide sleeper by @Xuanwo in https://github.com/Xuanwo/backon/pull/93
- Bump to version 0.5.0 by @Xuanwo in https://github.com/Xuanwo/backon/pull/94
New Contributors
- @matildasmeds made their first contribution in https://github.com/Xuanwo/backon/pull/84
- @wackazong made their first contribution in https://github.com/Xuanwo/backon/pull/92
Full Changelog: https://github.com/Xuanwo/backon/compare/v0.4.4...v0.5.0
clap-rs/clap (clap)
v4.5.23
Fixes
-
(parser) When check
allow_negative_numbers
, allowE
again
v4.5.22
Fixes
- (assert) Catch bugs with arguments requiring themself
v4.5.21
Fixes
-
(parser) Ensure defaults are filled in on error with
ignore_errors(true)
v4.5.20
Features
-
(unstable) Add
CommandExt
v4.5.19
Internal
- Update dependencies
v4.5.18
Features
-
(builder) Expose
Arg::get_display_order
andCommand::get_display_order
v4.5.17
Fixes
- (help) Style required argument groups
- (derive) Improve error messages when unsupported fields are used
v4.5.16
Fixes
-
(derive) Improve error messages when
derive
feature is missing
v4.5.15
Compatiblity
-
(unstable-ext)
Arg::remove
changed return types
Fixes
-
(unstable-ext) Make
Arg::remove
return the removed item
v4.5.14
Features
-
(unstable-ext) Added
Arg::add
for attaching arbitrary state, like completion hints, toArg
withoutArg
knowing about it
v4.5.13
Fixes
-
(derive) Improve error message when
#[flatten]
ing an optional#[group(skip)]
- (help) Properly wrap long subcommand descriptions in help
v4.5.12
v4.5.11
v4.5.10
v4.5.9
Fixes
- (error) When defining a custom help flag, be sure to suggest it like we do the built-in one
v4.5.8
Fixes
- Reduce extra flushes
v4.5.7
Fixes
- Clean up error message when too few arguments for
num_args
v4.5.6
v4.5.5
Fixes
- Allow
exclusive
to overriderequired_unless_present
,required_unless_present_any
,required_unless_present_all
rust-lang/futures-rs (futures)
v0.3.31
- Fix use after free of task in
FuturesUnordered
when dropped future panics (#2886) - Fix soundness bug in
task::waker_ref
(#2830) This is a breaking change but allowed because it is soundness bug fix. - Fix bugs in
AsyncBufRead::read_line
andAsyncBufReadExt::lines
(#2884) - Fix parsing issue in
select!
/select_biased!
(#2832) This is technically a breaking change as it will now reject a very odd undocumented syntax that was previously accidentally accepted. - Work around issue due to upstream
Waker::will_wake
change (#2865) - Add
stream::Iter::{get_ref,get_mut,into_inner}
(#2875) - Add
future::AlwaysReady
(#2825) - Relax trait bound on non-constructor methods of
io::{BufReader,BufWriter}
(#2848)
console-rs/indicatif (indicatif)
v0.17.9
What's Changed
- Mention ProgressTracker near list of template keys by @djc in https://github.com/console-rs/indicatif/pull/632
- tests: print whether colors are enabled to help diagnose spurious failure by @chris-laplante in https://github.com/console-rs/indicatif/pull/641
- Workarounds for flaky tty/color support in GitHub actions runner by @chris-laplante in https://github.com/console-rs/indicatif/pull/646
- Fix move cursor flag not working by @SuperTux88 in https://github.com/console-rs/indicatif/pull/648
- chore: fix comment by @rustco in https://github.com/console-rs/indicatif/pull/649
- Fix AtomicPosition::reset storing wrong value by @TheJokr in https://github.com/console-rs/indicatif/pull/650
- Documentation tweaks; bump MSRV by @chris-laplante in https://github.com/console-rs/indicatif/pull/653
- Update deny config for cargo-deny 0.15 release by @djc in https://github.com/console-rs/indicatif/pull/655
- Update unicode-width requirement from 0.1 to 0.2 by @dependabot in https://github.com/console-rs/indicatif/pull/658
- Replace
instant
withweb-time
by @torokati44 in https://github.com/console-rs/indicatif/pull/666 - Bump EmbarkStudios/cargo-deny-action from 1 to 2 by @dependabot in https://github.com/console-rs/indicatif/pull/654
- Bump version to 0.17.9 by @djc in https://github.com/console-rs/indicatif/pull/667
- feat: allow constructing and setting the progress bar len to
None
by @cdellacqua in https://github.com/console-rs/indicatif/pull/664
tikv/rust-prometheus (prometheus)
v0.13.4
-
Improvement: Add PullingGauge (#405)
-
Improvement: Let cargo know which example requires which features (#511)
-
Bug fix: Prevent
clippy::ignored_unit_patterns
in macro expansions (#497) -
Internal change: Add CI job for minimum toolchain (MSRV) (#467)
-
Internal change: Update CI to
actions/checkout@v4
(#499) -
Internal change: Update dependencies
seanmonstar/reqwest (reqwest)
v0.12.9
- Add
tls::CertificateRevocationLists
support. - Add crate features to enable webpki roots without selecting a rustls provider.
- Fix
connection_verbose()
to output read logs. - Fix
multipart::Part::file()
to automatically include content-length. - Fix proxy to internally no longer cache system proxy settings.
v0.12.8
- Add support for SOCKS4 proxies.
- Add
multipart::Form::file()
method for adding files easily. - Add
Body::wrap()
to wrap anyhttp_body::Body
type. - Fix the pool configuration to use a timer to remove expired connections.
v0.12.7
- Revert adding
impl Service<http::Request<_>>
forClient
.
v0.12.6
- Add support for
danger_accept_invalid_hostnames
forrustls
. - Add
impl Service<http::Request<Body>>
forClient
and&'_ Client
. - Add support for
!Sync
bodies inBody::wrap_stream()
. - Enable happy eyeballs when
hickory-dns
is used. - Fix
Proxy
so thatHTTP(S)_PROXY
values take precedence overALL_PROXY
. - Fix
blocking::RequestBuilder::header()
from unsettingsensitive
on passed header values.
v0.12.5
- Add
blocking::ClientBuilder::dns_resolver()
method to change DNS resolver in blocking client. - Add
http3
feature back, still requiringreqwest_unstable
. - Add
rustls-tls-no-provider
Cargo feature to use rustls without a crypto provider. - Fix
Accept-Encoding
header combinations. - Fix http3 resolving IPv6 addresses.
- Internal: upgrade to rustls 0.23.
serde-rs/serde (serde)
v1.0.216
- Mark all generated impls with #[automatically_derived] to exclude from code coverage (#2866, #2868, thanks @tdittr)
v1.0.215
- Produce warning when multiple fields or variants have the same deserialization name (#2855, #2856, #2857)
v1.0.214
- Implement IntoDeserializer for all Deserializers in serde::de::value module (#2568, thanks @Mingun)
v1.0.213
- Fix support for macro-generated
with
attributes inside a newtype struct (#2847)
v1.0.212
- Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)
v1.0.211
- Improve error reporting about mismatched signature in
with
anddefault
attributes (#2558, thanks @Mingun) - Show variant aliases in error message when variant deserialization fails (#2566, thanks @Mingun)
- Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)
v1.0.210
- Support serializing and deserializing
IpAddr
andSocketAddr
in no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch) - Make
serde::ser::StdError
andserde::de::StdError
equivalent tocore::error::Error
on Rust 1.81+ (#2818)
v1.0.209
- Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @Mingun)
v1.0.208
v1.0.207
- Improve interactions between
flatten
attribute andskip_serializing
/skip_deserializing
(#2795, thanks @Mingun)
v1.0.206
v1.0.205
- Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @Mingun)
- Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)
v1.0.204
- Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#2767, thanks @weiznich)
v1.0.203
- Documentation improvements (#2747)
v1.0.202
- Provide public access to RenameAllRules in serde_derive_internals (#2743)
v1.0.201
- Resolve unexpected_cfgs warning (#2737)
v1.0.200
- Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#2733, thanks @jamessan)
v1.0.199
- Fix ambiguous associated item when
forward_to_deserialize_any!
is used on an enum withError
variant (#2732, thanks @aatifsyed)
dtolnay/thiserror (thiserror)
v1.0.69
- Backport 2.0.2 fixes
v1.0.68
- Handle incomplete expressions more robustly in format arguments, such as while code is being typed (#341, #344)
v1.0.67
v1.0.66
- Improve compile error on malformed format attribute (#327)
v1.0.65
- Ensure OUT_DIR is left with deterministic contents after build script execution (#325)
v1.0.64
v1.0.63
- Documentation improvements
v1.0.62
- Support referring to nested tuple struct fields inside
#[error("…", …)]
attribute (#309)
v1.0.61
v1.0.60
- Resolve unexpected_cfgs warning (#298)
tokio-rs/tokio (tokio)
v1.42.0
: Tokio v1.42.0
1.42.0 (Dec 3rd, 2024)
Added
- io: add
AsyncFd::{try_io, try_io_mut}
(#6967)
Fixed
- io: avoid
ptr->ref->ptr
roundtrip in RegistrationSet (#6929) - runtime: do not defer
yield_now
insideblock_in_place
(#6999)
Changes
- io: simplify io readiness logic (#6966)
Documented
- net: fix docs for
tokio::net::unix::{pid_t, gid_t, uid_t}
(#6791) - time: fix a typo in
Instant
docs (#6982)
v1.41.1
: Tokio v1.41.1
1.41.1 (Nov 7th, 2024)
Fixed
- metrics: fix bug with wrong number of buckets for the histogram (#6957)
- net: display
net
requirement fornet::UdpSocket
in docs (#6938) - net: fix typo in
TcpStream
internal comment (#6944)
v1.41.0
: Tokio v1.41.0
1.41.0 (Oct 22th, 2024)
Added
- metrics: stabilize
global_queue_depth
(#6854, #6918) - net: add conversions for unix
SocketAddr
(#6868) - sync: add
watch::Sender::sender_count
(#6836) - sync: add
mpsc::Receiver::blocking_recv_many
(#6867) - task: stabilize
Id
apis (#6793, #6891)
Added (unstable)
- metrics: add H2 Histogram option to improve histogram granularity (#6897)
- metrics: rename some histogram apis (#6924)
- runtime: add
LocalRuntime
(#6808)
Changed
- runtime: box futures larger than 16k on release mode (#6826)
- sync: add
#[must_use]
toNotified
(#6828) - sync: make
watch
cooperative (#6846) - sync: make
broadcast::Receiver
cooperative (#6870) - task: add task size to tracing instrumentation (#6881)
- wasm: enable
cfg_fs
forwasi
target (#6822)
Fixed
- net: fix regression of abstract socket path in unix socket (#6838)
Documented
- io: recommend
OwnedFd
withAsyncFd
(#6821) - io: document cancel safety of
AsyncFd
methods (#6890) - macros: render more comprehensible documentation for
join
andtry_join
(#6814, #6841) - net: fix swapped examples for
TcpSocket::set_nodelay
andTcpSocket::nodelay
(#6840) - sync: document runtime compatibility (#6833)
v1.40.0
: Tokio v1.40.0
1.40.0 (August 30th, 2024)
Added
- io: add
util::SimplexStream
(#6589) - process: stabilize
Command::process_group
(#6731) - sync: add
{TrySendError,SendTimeoutError}::into_inner
(#6755) - task: add
JoinSet::join_all
(#6784)
Added (unstable)
- runtime: add
Builder::{on_task_spawn, on_task_terminate}
(#6742)
Changed
- io: use vectored io for
write_all_buf
when possible (#6724) - runtime: prevent niche-optimization to avoid triggering miri (#6744)
- sync: mark mpsc types as
UnwindSafe
(#6783) - sync,time: make
Sleep
andBatchSemaphore
instrumentation explicit roots (#6727) - task: use
NonZeroU64
fortask::Id
(#6733) - task: include panic message when printing
JoinError
(#6753) - task: add
#[must_use]
toJoinHandle::abort_handle
(#6762) - time: eliminate timer wheel allocations (#6779)
Documented
- docs: clarify that
[build]
section doesn't go in Cargo.toml (#6728) - io: clarify zero remaining capacity case (#6790)
- macros: improve documentation for
select!
(#6774) - sync: document mpsc channel allocation behavior (#6773)
v1.39.3
: Tokio v1.39.3
1.39.3 (August 17th, 2024)
This release fixes a regression where the unix socket api stopped accepting the abstract socket namespace. (#6772)
v1.39.2
: Tokio v1.39.2
1.39.2 (July 27th, 2024)
This release fixes a regression where the select!
macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)
v1.39.1
: Tokio v1.39.1
1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)
v1.39.0
: Tokio v1.39.0
1.39.0 (July 23rd, 2024)
- This release bumps the MSRV to 1.70. (#6645)
- This release upgrades to mio v1. (#6635)
- This release upgrades to windows-sys v0.52 (#6154)
Added
- io: implement
AsyncSeek
forEmpty
(#6663) - metrics: stabilize
num_alive_tasks
(#6619, #6667) - process: add
Command::as_std_mut
(#6608) - sync: add
watch::Sender::same_channel
(#6637) - sync: add
{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}
(#6661) - sync: implement
Default
forwatch::Sender
(#6626) - task: implement
Clone
forAbortHandle
(#6621) - task: stabilize
consume_budget
(#6622)
Changed
- io: improve panic message of
ReadBuf::put_slice()
(#6629) - io: read during write in
copy_bidirectional
andcopy
(#6532) - runtime: replace
num_cpus
withavailable_parallelism
(#6709) - task: avoid stack overflow when passing large future to
block_on
(#6692) - time: avoid traversing entries in the time wheel twice (#6584)
- time: support
IntoFuture
withtimeout
(#6666) - macros: support
IntoFuture
withjoin!
andselect!
(#6710)
Fixed
- docs: fix docsrs builds with the fs feature enabled (#6585)
- io: only use short-read optimization on known-to-be-compatible platforms (#6668)
- time: fix overflow panic when using large durations with
Interval
(#6612)
Added (unstable)
- macros: allow
unhandled_panic
behavior for#[tokio::main]
and#[tokio::test]
(#6593) - metrics: add
spawned_tasks_count
(#6114) - metrics: add
worker_park_unpark_count
(#6696) - metrics: add worker thread id (#6695)
Documented
- io: update
tokio::io::stdout
documentation (#6674) - macros: typo fix in
join.rs
andtry_join.rs
(#6641) - runtime: fix typo in
unhandled_panic
(#6660) - task: document behavior of
JoinSet::try_join_next
when all tasks are running (#6671)
v1.38.1
: Tokio v1.38.1
1.38.1 (July 16th, 2024)
This release fixes the bug identified as (#6682), which caused timers not to fire when they should.
Fixed
- time: update
wake_up
while holding all the locks of sharded time wheels (#6683)
v1.38.0
: Tokio v1.38.0
This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count
. Future releases will continue to
stabilize more metrics.
Added
- fs: add
File::create_new
(#6573) - io: add
copy_bidirectional_with_sizes
(#6500) - io: implement
AsyncBufRead
forJoin
(#6449) - net: add Apple visionOS support (#6465)
- net: implement
Clone
forNamedPipeInfo
(#6586) - net: support QNX OS (#6421)
- sync: add
Notify::notify_last
(#6520) - sync: add
mpsc::Receiver::{capacity,max_capacity}
(#6511) - sync: add
split
method to the semaphore permit (#6472, #6478) - task: add
tokio::task::join_set::Builder::spawn_blocking
(#6578) - wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)
Changed
- macros: make
#[tokio::test]
append#[test]
at the end of the attribute list (#6497) - metrics: fix
blocking_threads
count (#6551) - metrics: stabilize
RuntimeMetrics::worker_count
(#6556) - runtime: move task out of the
lifo_slot
inblock_in_place
(#6596) - runtime: panic if
global_queue_interval
is zero (#6445) - sync: always drop message in destructor for oneshot receiver (#6558)
- sync: instrument
Semaphore
for task dumps (#6499) - sync: use FIFO ordering when waking batches of wakers (#6521)
- task: make
LocalKey::get
work with Clone types (#6433) - tests: update nix and mio-aio dev-dependencies (#6552)
- time: clean up implementation (#6517)
- time: lazily init timers on first poll (#6512)
- time: remove the
true_when
field inTimerShared
(#6563) - time: use sharding for timer implementation (#6534)
Fixed
- taskdump: allow building taskdump docs on non-unix machines (#6564)
- time: check for overflow in
Interval::poll_tick
(#6487) - sync: fix incorrect
is_empty
on mpsc block boundaries (#6603)
Documented
- fs: rewrite file system docs (#6467)
- io: fix
stdin
documentation (#6581) - io: fix obsolete reference in
ReadHalf::unsplit()
documentation (#6498) - macros: render more comprehensible documentation for
select!
(#6468) - net: add missing types to module docs (#6482)
- net: fix misleading
NamedPipeServer
example (#6590) - sync: add examples for
SemaphorePermit
,OwnedSemaphorePermit
(#6477) - sync: document that
Barrier::wait
is not cancel safe (#6494) - sync: explain relation between
watch::Sender::{subscribe,closed}
(#6490) - task: clarify that you can't abort
spawn_blocking
tasks (#6571) - task: fix a typo in doc of
LocalSet::run_until
(#6599) - time: fix test-util requirement for pause and resume in docs (#6503)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.