Alice Ryhl
36fdccc3bc
util: Revert "remove Encoder bound on FramedParts constructor" ( #5450 )
...
This reverts commit ae69d11d1f .
2023-02-12 11:55:41 +01:00
Alice Ryhl
01bb1ecf4d
chore: prepare tokio-util v0.7.6 ( #5447 )
tokio-util-0.7.6
2023-02-10 10:48:36 +01:00
Alice Ryhl
36d2233579
chore: fix dependency on Tokio ( #5445 )
2023-02-10 10:13:37 +01:00
Alice Ryhl
74fb9e387a
chore: prepare tokio-util v0.7.5 ( #5442 )
tokio-util-0.7.5
2023-02-09 17:35:53 +01:00
Alice Ryhl
8b44077ebc
sync: make CancellationToken UnwindSafe ( #5438 )
2023-02-09 13:07:52 +01:00
Caio
d6dbefcdc0
sync: mark lock guards with #[clippy::has_significant_drop] ( #5422 )
2023-02-09 11:20:09 +01:00
Conrad Ludgate
d96bbf0465
time: don't store deadline twice in sleep entries ( #5410 )
2023-02-09 11:19:02 +01:00
Taiki Endo
09b2653e71
chore: update windows-sys to 0.45 ( #5386 )
2023-02-09 11:16:12 +01:00
Valentin
061325ba7e
task: clarify what happens to spawned work during runtime shutdown ( #5394 )
2023-02-09 11:14:01 +01:00
Nathaniel Brough
d7d5d05333
tests: port proptest fuzz harnesses to use cargo-fuzz ( #5392 )
...
This change ports fuzz tests from the black-box fuzzing framework,
proptest-rs over to use the grey-box fuzzing framework cargo-fuzz.
Refs: #5391
2023-02-09 11:08:50 +01:00
Finomnis
1dcfe1cc9b
ci: add semver checking to CI ( #5437 )
2023-02-08 16:45:02 +01:00
Dmitry Ivanov
5653b4583c
io: remove erroneous wake call in SinkWriter ( #5436 )
2023-02-07 18:32:27 +00:00
Carl Lerche
abf5d28f2c
rt: remove Arc from Clock ( #5434 )
...
This patch removes `Arc` from Tokio's internal clock source. Instead of
cloning `Clock` when needed, a reference is passed into functions that
need to get the current instant.
2023-02-07 09:45:14 -08:00
Taiki Endo
a7945b469d
ci: update Cirrus CI config ( #5428 )
...
* Use image_family for FreeBSD image in Cirrus CI
* Do not trigger Cirrus CI on branches other than master and tokio-.*
2023-02-07 03:58:19 +09:00
mTsBucy1
80ec80165b
task: clarify process::Command docs ( #5406 ) ( #5413 )
2023-01-30 16:47:04 +01:00
Steven Fackler
88b1eb54fb
chore: prepare Tokio v1.25.0 release ( #5408 )
tokio-1.25.0
2023-01-29 22:44:31 +01:00
Jonathan Schwender
1f50c57185
metrics: fix steal_count docs, add steal_operations ( #5330 )
2023-01-27 20:44:47 +01:00
Flavio Moreira
a18b3645f3
chore: update year in LICENSE files ( #5402 )
2023-01-27 16:05:48 +01:00
jake
fe2dcb9453
io: increase MAX_BUF from 16384 to 2MiB ( #5397 )
2023-01-27 13:50:55 +01:00
Chris Wailes
c90757f07a
tests: condition unwinding tests on cfg(panic = "unwind") ( #5384 )
2023-01-21 11:12:24 +01:00
Taiki Endo
f3f8e4f17f
chore: update nix to 0.26 ( #5385 )
2023-01-21 12:17:04 +09:00
Carl Lerche
42bec96189
Merge branch 'tokio-1.24.x' into master
2023-01-17 12:59:09 -08:00
Carl Lerche
4f6a95badc
chore: prepare Tokio v1.24.2 release
2023-01-17 12:26:13 -08:00
Carl Lerche
3d33610ed2
Merge branch 'tokio-1.20.x' into tokio-1.24.x
2023-01-17 12:25:05 -08:00
Carl Lerche
38a9c6c1a5
Merge branch 'tokio-1.20.x' into master
2023-01-17 11:24:22 -08:00
Carl Lerche
f3ce29a003
chore: prepare Tokio v1.20.4 release
tokio-1.20.4
2023-01-17 11:09:42 -08:00
Carl Lerche
0d8fe5fe75
Merge branch 'tokio-1.18.x' into tokio-1.20.x
2023-01-17 11:08:06 -08:00
Taiki Endo
171ce0ff8d
chore: prepare Tokio v1.18.5 release
tokio-1.18.5
2023-01-17 23:00:38 +09:00
Taiki Endo
d6ea7a742b
Add T: Unpin bound to ReadHalf::unsplit
2023-01-17 21:53:54 +09:00
Alice Ryhl
06f1a601bb
task: clarify doc about tasks starting immediately ( #5364 )
2023-01-14 11:11:45 -08:00
Taiki Endo
40782efb76
tokio: fix remaining issues about atomic_u64_static_once_cell.rs ( #5374 )
...
Fixes #5373
Closes #5358
- Add check for no_atomic_u64 & no_const_mutex_new (condition to atomic_u64_static_once_cell.rs is compiled)
- Allow unused_imports in TARGET_ATOMIC_U64_PROBE. I also tested other *_PROBE and found no other errors triggered by -D warning.
- Fix cfg of util::once_cell module
2023-01-14 11:11:05 -08:00
Steven Fackler
c390a62387
Add broadcast::Sender::len ( #5343 )
...
* Add broadcast::Sender::len
* Add a randomized test for broadcast::Sender::len
* fix wasm build
* less silly cfg
* review feedback
* grammar?
2023-01-12 13:53:31 -05:00
Tymoteusz Wiśniewski
f9dbfa8251
net: improve from_std docs regarding non-blocking IO ( #5332 )
2023-01-11 12:56:27 +00:00
Alice Ryhl
31c7e82919
chore: prepare Tokio v1.24.1 ( #5357 )
tokio-1.24.1
2023-01-06 10:48:42 +00:00
dtolnay
8d8db27442
tokio: add load and compare_exchange_weak to loom StaticAtomicU64 ( #5356 )
2023-01-06 15:19:31 +09:00
Carl Lerche
dfe252d1fa
chore: prepare Tokio v1.24.0 release ( #5353 )
tokio-1.24.0
2023-01-05 11:20:35 -08:00
Paul Loyd
21b233fa9c
test: bump version of async-stream ( #5347 )
2023-01-05 11:02:07 +01:00
Carl Lerche
72993044e6
Merge branch 'tokio-1.23.x' into master
2023-01-04 11:36:07 -08:00
Carl Lerche
1a997ffbd6
chore: prepare Tokio v1.23.1 release
tokio-1.23.1
2023-01-04 10:32:38 -08:00
Carl Lerche
a8fe333cc4
Merge branch 'tokio-1.20.x' into tokio-1.23.x
2023-01-03 15:06:02 -08:00
Carl Lerche
ba81945ffc
chore: prepare Tokio 1.20.3 release
tokio-1.20.3
2023-01-03 13:28:44 -08:00
Carl Lerche
763bdc967e
ci: run WASI tasks using latest Rust
...
This should let CI to pass.
2023-01-03 13:28:43 -08:00
Carl Lerche
9f98535877
Merge remote-tracking branch 'origin/tokio-1.18.x' into fix-named-pipes-1.20
2023-01-03 13:12:20 -08:00
Carl Lerche
9241c3eddf
chore: prepare Tokio v1.18.4 release
tokio-1.18.4
2023-01-03 13:06:27 -08:00
Carl Lerche
699573d550
net: fix named pipes server configuration builder
...
The `pipe_mode` function would erase any previously set configuration
option that is specified using the pipe_mode fit field. This patch fixes
the builder to maintain the bit field when changing the pipe mode.
2023-01-03 13:06:27 -08:00
Carl Lerche
c6552c5680
rt: use internal ThreadId implementation ( #5329 )
...
The version provided by `std` has limitations, including no way to try
to get a thread ID without panicking.
2022-12-30 15:17:35 -08:00
Carl Lerche
048049f888
rt: move task::Id into its own file ( #5327 )
...
This is a minor internal cleanup.
2022-12-30 10:49:45 -08:00
Taiki Endo
98d484e29c
ci: update cargo-check-external-types to 0.1.6 ( #5325 )
2022-12-30 19:03:44 +09:00
Taiki Endo
ef0224246b
tests: fix SB violation in LeakedBuffers ( #5322 )
2022-12-29 11:46:08 +09:00
icedrocket
4a4f80ca70
fs: use chunks in fs::read_dir ( #5309 )
2022-12-28 12:06:46 +01:00