Alice Ryhl
9e044e144b
changelog: fix release date of v1.43.1 ( #7246 )
2025-04-08 10:04:13 +02:00
Alice Ryhl
cb08fbc6c3
Merge 'tokio-1.42.1' into 'tokio-1.43.x' ( #7245 )
2025-04-08 10:02:57 +02:00
Alice Ryhl
e59584a661
changelog: fix release date of v1.42.1 ( #7244 )
2025-04-08 09:51:07 +02:00
Alice Ryhl
f7fb0bdc7a
chore: prepare Tokio v1.42.1
tokio-1.42.1
2025-04-07 17:15:14 +02:00
Alice Ryhl
9faea740df
Merge 'tokio-1.38.x' into 'tokio.1.42.x'
2025-04-07 16:33:23 +02:00
Carl Lerche
a7b658c35b
chore: prepare Tokio v1.43.1 release
tokio-1.43.1
2025-04-04 08:31:21 -07:00
Carl Lerche
c1c8d1033d
Merge remote-tracking branch 'origin/tokio-1.38.x' into forward-port-1.38.x
2025-04-04 08:18:13 -07:00
Carl Lerche
aa303bc205
chore: prepare Tokio v1.38.2 release
tokio-1.38.2
2025-04-02 21:58:38 -07:00
Carl Lerche
7b6ccb515f
chore: backport CI fixes
2025-04-02 14:34:28 -07:00
Carl Lerche
4b174ce2c9
sync: fix cloning value when receiving from broadcast channel
...
The broadcast channel does not require values to implement `Sync` yet it calls
the `.clone()` method without synchronizing. This is unsound logic. This patch
adds per-value synchronization on receive to handle this case. It is unlikely
any usage of the broadcast channel is currently at risk of the unsoundeness
issue as it requires accessing a `!Sync` type during `.clone()`, which would be
very unusual when using the broadcast channel.
2025-04-02 14:25:05 -07:00
Alice Ryhl
5f3296df77
chore: prepare Tokio v1.43.0 ( #7079 )
tokio-1.43.0
2025-01-08 16:57:25 +01:00
Alice Ryhl
cc974a646b
chore: prepare tokio-macros v2.5.0 ( #7078 )
tokio-macros-2.5.0
2025-01-08 16:56:31 +01:00
Russell Cohen
15495fd883
metrics: improve flexibility of H2Histogram Configuration ( #6963 )
2025-01-08 15:00:34 +01:00
Paolo Barbolini
ad4183412a
io: don't call set_len before initializing vector in Blocking ( #7054 )
2025-01-08 10:05:58 +00:00
Alice Ryhl
bd3e857737
runtime: move is_join_waker_set assertion in unset_waker ( #7072 )
2025-01-06 22:19:53 +01:00
Thomas Schilling
15f73666f1
runtime: fix LocalRuntime doc links ( #7074 )
2025-01-06 14:49:42 +00:00
Alice Ryhl
fd2048dad1
ci: split miri jobs into unit and integration tests ( #7071 )
2025-01-06 15:39:06 +01:00
Alice Ryhl
e8f39157b6
chore: use unsync loads for unsync_load ( #7073 )
...
This reverts #6203 and #6179 .
2025-01-06 14:16:15 +01:00
Aeon
67f127769b
net: fix ambiguity in TcpStream::try_write_vectored docs ( #7067 )
2025-01-06 11:16:58 +01:00
philomathic_life
463502cbaf
io: clarify ReadBuf::uninit allows initialized buffers as well ( #7053 )
2025-01-06 11:16:15 +01:00
Sebastian Urban
a1520f5525
runtime: fix thread parking on WebAssembly ( #7041 )
...
On WebAssembly the notification state was not checked
before sleeping and thus wrongfully ignored.
Additionally this refines the check whether threads are
available on a particular WebAssembly target.
2025-01-06 11:14:28 +01:00
Al Liu
acd6627d6d
net: add UdpSocket::peek methods ( #7068 )
2025-01-06 11:12:08 +01:00
Aeon
2353806daf
io: change AsyncReadExt::read docs formatting ( #7066 )
2025-01-04 21:30:59 +01:00
tiif
7be2bfa744
net: fix typo in miri comment ( #7063 )
2025-01-03 10:11:05 +00:00
Andrea Ciprietti
e066431c94
sync: extend documentation for watch::Receiver::wait_for ( #7038 )
2025-01-02 21:33:56 +01:00
tiif
2052938a9f
ci: run doc tests with miri ( #7060 )
2025-01-02 13:14:30 +00:00
Paolo Barbolini
b3ff911c38
io: use Buf::put_bytes in Repeat read impl ( #7055 )
2024-12-30 13:44:55 +01:00
Fancy2209
9d42b977df
misc: get haiku working
2024-12-30 03:36:40 -06:00
Timo
970d880ceb
task: drop the join waker of a task eagerly ( #6986 )
2024-12-29 18:17:02 +01:00
Felipe Lima
4ca13e6015
sync: fix typos in OnceCell docs ( #7047 )
2024-12-21 14:09:38 +01:00
CMelz
b54b9d4338
codec: fix typo in API documentation ( #7044 )
2024-12-18 13:33:21 +01:00
Rafael Bachmann
10e23d1c62
docs: replace match guards by pattern matching in examples ( #7035 )
2024-12-15 12:01:37 +01:00
Rain
aa7e0cef72
signal: add support for realtime signals on illumos ( #7029 )
...
The API was added in libc 0.2.168.
Also added a test for realtime signals.
2024-12-13 22:32:34 -06:00
Noisy
bfa8cadaa0
chore: spelling and date format Corrections ( #7018 )
2024-12-10 13:16:41 +01:00
Josh McKinney
6d15c6cacb
stream: add examples to wrapper types ( #7024 )
2024-12-10 11:14:18 +00:00
Motoyuki Kimura
79a2afae9f
util: enable Either to use underlying AsyncWrite implementation ( #7025 )
2024-12-10 01:52:16 +09:00
Ariel Ben-Yehuda
48e07a6d10
taskdump: add accessor methods for backtrace ( #6975 )
2024-12-09 16:16:09 +09:00
tiif
eb72ddde3b
task: run spawn_pinned tests with miri ( #7023 )
2024-12-08 12:45:16 +01:00
29
dc16b12edb
process: add Command::into_std() ( #7014 )
2024-12-07 12:56:02 +01:00
Alice Ryhl
67355c6d23
chore: prepare tokio-stream v0.1.17 ( #7020 )
tokio-stream-0.1.17
2024-12-06 11:19:06 +01:00
Alice Ryhl
405d746d38
signal: remove oneshot channels from tests ( #7015 )
2024-12-05 08:36:45 -08:00
Alice Ryhl
e0d1293fac
ci: add instructions that explain how to fix spellcheck errors ( #7016 )
2024-12-05 12:28:27 +01:00
Rain
480c010b01
signal: add SignalKind::info on illumos ( #6995 )
2024-12-05 10:18:45 +01:00
Alice Ryhl
c032ea0203
ci: detect trailing whitespace ( #7013 )
2024-12-04 17:23:13 +01:00
Alice Ryhl
0b31c2f73d
chore: prepare tokio-util v0.7.13 ( #7012 )
tokio-util-0.7.13
2024-12-04 12:49:55 +01:00
Zettroke
129f9fc0c8
codec: fix incorrect handling of invalid utf-8 in LinesCodec::decode_eof ( #7011 )
2024-12-04 10:18:14 +00:00
Hayden Stainsby
b5c227d51f
tracing: move tracing instrumentation tests into tokio tests ( #7007 )
...
In #6112 , tests for the tracing instrumentation were introduced. They
had to live in their own test crate under `tokio/tests` because the
`tracing-mock` crate that the tests use had not yet been published to
crates.io.
Now `tracing-mock` has been published to crates.io and so the separate
test crate and separate job to run it are no longer necessary. The
tracing instrumentation tests can be placed in with the other
integration tests in the `tokio` crate.
The tests themselves have also been updated to match the changes in the
`tracing-mock` API since the version which was being used.
2024-12-04 07:47:48 +01:00
Alice Ryhl
dcae2b9eb8
ci: unfreeze FreeBSD from rustc 1.81 ( #7009 )
2024-12-03 14:33:28 +00:00
Alice Ryhl
bb9d57017e
chore: prepare Tokio v1.42.0 ( #7005 )
tokio-1.42.0
2024-12-03 14:48:39 +01:00
leopardracer
af9c683d52
tests: fix typo in build test instructions ( #7004 )
2024-12-03 13:11:36 +00:00