M.Amin Rayej
deff2524c3
util: document cancel safety of SinkExt::send
and StreamExt::next
( #6417 )
2024-03-25 01:53:01 +03:30
Matthieu Le brazidec (r3v2d0g)
4565b81097
sync: add a rwlock()
method to owned RwLock
guards ( #6418 )
2024-03-25 00:37:05 +09:00
Ilson Balliego
3ce4720a45
sync: add is_closed
, is_empty
, and len
to mpsc receivers ( #6348 )
...
Fixes : #4638
2024-03-24 14:46:02 +01:00
M.Amin Rayej
8342e4b524
util: assert compatibility between LengthDelimitedCodec
options ( #6414 )
2024-03-24 01:12:24 +03:30
Motoyuki Kimura
4c453e9790
readme: add description about benchmarks ( #6425 )
2024-03-23 18:11:41 +03:30
M.Amin Rayej
1846483f19
sync: expose strong and weak counts of mpsc sender handles ( #6405 )
2024-03-22 23:25:33 +03:30
Christopher Acosta
baad270b98
sync: add Semaphore example for limiting the number of outgoing requests ( #6419 )
2024-03-22 21:33:28 +03:30
Motoyuki Kimura
f9d78fbe92
fs: add set_max_buf_size
to tokio::fs::File
( #6411 )
2024-03-22 17:28:29 +03:30
M.Amin Rayej
bb25a06f34
chore: fix dead code warnings ( #6423 )
2024-03-22 13:44:18 +03:30
M.Amin Rayej
d51f16855b
runtime: panic if unhandled_panic
is enabled when not supported ( #6410 )
2024-03-20 09:48:09 +01:00
M.Amin Rayej
5baa8d58ec
sync: remove stale comment ( #6406 )
2024-03-17 19:29:10 +03:30
M.Amin Rayej
bd51feac47
readme: fix running loom tests guide ( #6408 )
2024-03-17 14:57:31 +03:30
M.Amin Rayej
b2896feb5b
io: use Mutex instead of spinlock ( #6403 )
2024-03-16 12:36:20 +03:30
Alice Ryhl
3d0d0fd2af
chore: prepare tokio-test v0.4.4 ( #6400 )
tokio-test-0.4.4
2024-03-14 22:10:15 +01:00
Alice Ryhl
7cfb100796
chore: prepare tokio-stream v0.1.15 ( #6401 )
tokio-stream-0.1.15
2024-03-14 22:10:05 +01:00
M.Amin Rayej
e37bd63854
io: implement try_new
and try_with_interest
for AsyncFd
( #6345 )
2024-03-14 22:48:26 +09:00
Vincent Palancher
c9e75785c8
sync: remove 'static
bound on impl Sink for PollSender
( #6397 )
...
In PR #5665 , the `'static` bound has been removed on values sent into
`PollSender`. One of this bound was remaining on the `PollSender`
implementation of `Sink`. This patch removes it and adds some tests on
the `Sink` interface for `PollSender`.
2024-03-14 10:23:59 +01:00
kim / Motoyuki Kimura
3141ed6228
sync: update watch channel docs ( #6395 )
2024-03-13 17:24:19 +01:00
Alice Ryhl
ea1cfbdb97
sync: reorder const_new before new_with ( #6392 )
2024-03-12 14:22:25 +00:00
Alice Ryhl
fb2dc97468
readme: update commit message guidelines ( #6393 )
2024-03-12 14:21:08 +00:00
kim / Motoyuki Kimura
a3d2548789
sync: implement Clone
for watch::Sender
( #6388 )
2024-03-12 10:25:43 +01:00
Yotam Ofek
b4ab6472de
signal: fix typo in argument name ( #6389 )
2024-03-10 16:24:07 +01:00
M.Amin Rayej
3133af42e1
runtime: make the enter
example deterministic ( #6351 )
2024-03-10 11:37:18 +01:00
Patrick McGleenon
1f924f95f1
chore: fix deprecated circleci image ( #6379 )
2024-03-06 00:23:38 +09:00
kim / Motoyuki Kimura
f6d061919f
test: mark Spawn
as #[must_use]
( #6371 )
2024-03-04 16:56:40 +01:00
Lev Kokotov
f5ca423bf1
sync: fix missing period in broadcast docs ( #6377 )
2024-03-04 08:40:03 +00:00
Alice Ryhl
e0d33c4a20
tokio: mark 1.36 as an LTS release ( #6375 )
2024-03-03 20:44:38 +00:00
Alice Ryhl
3125279697
ci: update FreeBSD image to 14 ( #6376 )
2024-03-03 20:12:58 +00:00
Kevin Reid
5658d7c503
runtime: add doc link from Runtime
to #[tokio::main]
( #6366 )
2024-02-25 22:17:26 +01:00
Patrick McGleenon
a2096049ee
ci: downgrade to QEMU 7.2 for cross-compile builds ( #6361 ) ( #6363 )
2024-02-23 12:08:57 +09:00
kim / Motoyuki Kimura
94db07b379
task: add TaskLocalFuture::take_value
( #6340 )
2024-02-21 11:23:54 +01:00
qj
099ee23b65
docs: fix docsrs build without net feature ( #6360 )
2024-02-19 11:37:09 +00:00
M.Amin Rayej
b32826bc93
runtime: fix leaking registration entries when os registration fails ( #6329 )
2024-02-15 03:13:08 +03:30
Gil Shoshan
2ce1cee0f9
macros: allow select with only else branch ( #6339 )
2024-02-13 09:28:16 +01:00
M.Amin Rayej
84e41d4aff
io: document cancel safety of AsyncReadExt
's primitive read functions ( #6337 )
2024-02-11 20:45:13 +03:30
Val Lorentz
db6929ad62
task: fix documentation links ( #6336 )
2024-02-11 15:08:01 +01:00
M.Amin Rayej
e25d661e08
util: add examples for FramedRead and FramedWrite ( #6310 )
2024-02-11 02:38:44 +03:30
Patrick McGleenon
e392c4ff1e
chore: update CI to clippy 1.76 ( #6334 )
...
Co-authored-by: Rafael Bachmann <rafael.bachmann.93@gmail.com>
2024-02-10 10:45:40 +01:00
kim / Motoyuki Kimura
0fbde0e94b
sync: add forget_permits
method to semaphore ( #6331 )
2024-02-08 17:40:55 +03:30
Jack Wrenn
10c9eeb6c2
runtime: include task Id
in taskdumps ( #6328 )
...
Task `Id`s provide a semi-stable identifier for monitoring task
state across task dumps.
Fixes #6313
2024-02-05 22:53:20 +01:00
Alice Ryhl
47a5fe3a12
metrics: fix worker_steal_count test hanging ( #6327 )
2024-02-05 15:59:04 +00:00
Alice Ryhl
fbdf539ac2
sync: make downgrade must_use ( #6326 )
2024-02-05 08:46:04 +01:00
Alice Ryhl
63caced26f
tokio: update CHANGELOG.md ( #6324 )
2024-02-03 21:57:58 +01:00
erikdesjardins
0b31b2a195
task: implement FromIterator
for JoinSet
( #6300 )
2024-02-02 13:30:49 +01:00
Augusto Hack
cb197def68
docs: transition_to_idle doesn't return boolean ( #6320 )
2024-02-02 13:29:35 +01:00
M.Amin Rayej
eaf81ed324
chore: prepare Tokio v1.36.0 ( #6312 )
tokio-1.36.0
2024-02-02 11:13:46 +00:00
M.Amin Rayej
53f9e5a357
ci: make sure dictionary words are sorted and unique ( #6316 )
2024-01-31 16:11:54 +03:30
M.Amin Rayej
9077762545
net: expose keepalive option on TcpSocket
( #6311 )
2024-01-30 21:46:37 +03:30
Owen Leung
131e7b4e49
ci: add spellchecking ( #6297 )
2024-01-29 10:53:43 +01:00
M.Amin Rayej
e53b92a993
io: clarify clear_ready
docs ( #6304 )
2024-01-27 20:30:15 +00:00