Alice Ryhl
35b1a4d0b3
chore: prepare Tokio 1.1.0 ( #3462 )
tokio-1.1.0
2021-01-22 23:05:37 +01:00
Alice Ryhl
6da5087b06
sync: improve bounded mpsc documentation ( #3458 )
2021-01-22 19:28:37 +01:00
Alice Ryhl
c6f08120d0
task: add LocalSet example ( #3438 )
2021-01-21 16:36:26 +01:00
Alice Ryhl
29bd5fad5c
sync: add link to PollSemaphore ( #3456 )
2021-01-21 15:20:55 +01:00
Alice Ryhl
f2a048d990
time: document that Sleep is not Unpin ( #3457 )
2021-01-21 15:19:17 +01:00
Alice Ryhl
198363f4f1
chore: prepare tokio-util 0.6.2 ( #3453 )
tokio-util-0.6.2
2021-01-21 11:46:50 +01:00
vitalyd
5b7c7d565a
io: use a sealed trait to constrain VecWithInitialized ( #3450 )
2021-01-21 11:32:42 +01:00
Blas Rodriguez Irizar
117fc2ef3e
tests: fix ping pong saturation ( #3390 )
2021-01-21 11:02:40 +01:00
William Bain
c4f66ed121
util: fix panics on updating DelayQueue entries ( #3270 )
2021-01-21 10:56:44 +01:00
Oğuz Bilgener
7d5b12c509
sync: fix panic in broadcast::Receiver drop ( #3434 )
2021-01-20 23:12:51 +01:00
Alice Ryhl
cc0911aa64
net: update datagram docs on splitting ( #3448 )
2021-01-20 16:28:57 +01:00
Henry Gomersall
6f8a4d7a0b
docs: trivial typo fix ( #3449 )
2021-01-20 16:28:35 +01:00
Arve Knudsen
fdde5583f8
runtime: consolidate errors for context missing ( #3441 )
2021-01-20 14:29:13 +01:00
Rain
36cf95ab62
io: add ReadBuf::inner_mut ( #3443 )
2021-01-20 13:56:14 +01:00
Alice Ryhl
27b2d681e6
util: add pollable Semaphore ( #3444 )
2021-01-20 09:53:31 +01:00
Alice Ryhl
c1cf6b7504
io: keep track of initialized bytes in read_to_end ( #3426 )
2021-01-20 09:49:24 +01:00
Henry Gomersall
5402c948ee
io: clarify AsyncFd docs about changes of the inner fd ( #3430 )
2021-01-17 21:39:58 +01:00
Carl Lerche
2af9b755c5
Merge branch 'tokio-1.0.x'
2021-01-16 11:36:21 -08:00
Jacob O'Toole
7ac44a2d28
process: add documentation to process::Child fields ( #3437 )
2021-01-16 19:42:51 +01:00
Carl Lerche
3dc5f6c0ab
chore: release tokio v1.0.2 ( #3429 )
2021-01-15 15:05:38 -08:00
Alice Ryhl
0a7117fd9a
io: fix unsoundness in read_to_end ( #3428 )
2021-01-15 15:05:38 -08:00
Carl Lerche
5d35c907f6
chore: release tokio v1.0.2 ( #3429 )
tokio-1.0.2
2021-01-14 16:37:40 -08:00
Alice Ryhl
ad8fb41103
io: fix unsoundness in read_to_end ( #3428 )
2021-01-14 15:09:07 -08:00
Nylonicious
ecc32d1dca
sync: add RwLock try_read and try_write methods ( #3400 )
...
Closes #2284
2021-01-14 15:05:07 -08:00
Markus Westerlind
204603b7de
rt: reduce duplicated code in task harness ( #3314 )
...
Task spawning is a common operation that results in a lot of instantiations
of the task code. Reducing the amount of generated code should lead to
faster compile times overall.
This patch extracts code that does not depend on a type parameter into
functions with fewer or no type parameters at all. Reducing the amount of
duplicated code.
2021-01-14 10:07:56 -08:00
Taiki Endo
30b4a7486a
chore: use CARGO_BIN_EXE instead of inspecting env::current_exe() ( #3427 )
2021-01-14 09:59:37 -08:00
Taiki Endo
0595902ba4
Update issue template ( #3425 )
...
`cargo tree` subcommand is available by default since Rust 1.44.
2021-01-14 23:09:05 +09:00
Lucio Franco
672be92a03
mpsc: Add Sender::try_reserve
function ( #3418 )
...
* mpsc: Add `Sender::try_reserve` function
* Update tokio/src/sync/mpsc/bounded.rs
Co-authored-by: Alice Ryhl <alice@ryhl.io>
* Fix doc links
Co-authored-by: Alice Ryhl <alice@ryhl.io>
2021-01-13 14:24:23 -05:00
Alice Ryhl
766a89bf94
chore: prepare tokio-stream 0.1.2 ( #3414 )
tokio-stream-0.1.2
2021-01-12 21:38:51 +01:00
David Kellum
8b9bb41809
docs: add tokio 1.0 policies to contributing guide ( #3386 )
2021-01-12 21:15:44 +01:00
Taiki Endo
d37486dd06
util: remove path deps ( #3413 )
...
* util: remove path deps
* ci: run clippy with --all-features
* ci: run tests with --all-features on FreeBSD CI
2021-01-13 00:19:57 +09:00
Daiki Mizukami
ed667c669a
chore: prepare tokio-util v0.6.1 release ( #3402 )
tokio-util-0.6.1
2021-01-12 12:46:07 +01:00
Milan
da09213c9f
doc: typo fixes ( #3401 )
2021-01-11 21:39:50 -08:00
Taiki Endo
40d959263b
macros: fix unused_braces in generated code ( #3404 )
2021-01-11 19:20:40 +09:00
Shantanu Sharma
0b8bdf9d32
runtime: fix typo ( #3385 )
2021-01-10 20:59:14 +09:00
cssivision
51a7082d13
docs: test-util feature is not enabled with full ( #3397 )
2021-01-09 14:01:10 +01:00
Cameron
22c27b9282
task: wake LocalSet on spawn_local ( #3369 )
2021-01-09 11:46:51 +01:00
David Raifaizen
2fe2f0401b
util: expose FramedWrite/Framed::write_buffer/write_buffer_mut
2021-01-08 23:20:07 +01:00
Rust大闸蟹
e42317b072
chore: remove macro_rules semicolon ( #3381 )
...
fix build warning
2021-01-06 15:46:37 +09:00
Alice Ryhl
3549092a0c
docs: fix tokio-stream features not being displayed ( #3378 )
2021-01-05 11:43:09 +01:00
Alice Ryhl
3b840fb305
stream: remove path deps ( #3376 )
tokio-stream-0.1.1
2021-01-04 21:04:22 +01:00
Alice Ryhl
4beb1862ac
chore: prepare tokio-stream 0.1.1 ( #3374 )
2021-01-04 19:46:01 +01:00
Alice Ryhl
7f17822ed9
stream: add Stream wrappers in tokio-stream ( #3343 )
2021-01-04 19:03:18 +01:00
cssivision
3b6bee822d
net: add try_read_buf and try_recv_buf ( #3351 )
2021-01-02 10:37:34 +01:00
Rob Ede
56272b2ec7
stream: move async-stream to dev-deps ( #3366 )
2021-01-02 13:43:41 +09:00
John-John Tedro
53707f5d9d
sync: remove underused internal Borrow wrapper ( #3363 )
2021-01-01 13:04:38 -08:00
Daiki Mizukami
36918e05e5
util: add more get_{ref,mut,pin_mut} methods ( #3364 )
...
This commit adds:
- Framed::get_pin_mut
- FramedRead::get_pin_mut
- FramedWrite::get_pin_mut
- StreamReader::get_ref
- StreamReader::get_mut
- StreamReader::get_pin_mut
- StreamReader::into_inner
2021-01-01 13:05:15 +01:00
Arniu Tseng
cbd4f4472e
docs: update CHANGELOG.md ( #3336 )
2020-12-27 16:36:36 +01:00
Danilo Martins
2d9bea8d63
runtime: fix typo ( #3354 )
...
Co-authored-by: Danilo <vandor.danilo@gmail.com>
2020-12-27 16:17:00 +01:00
zhongjn
0048d43713
macros: improve select! error message ( #3352 )
...
Co-authored-by: Alice Ryhl <alice@ryhl.io>
2020-12-27 23:50:32 +09:00