2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 18:59:55 +00:00
Commit graph

1010 commits

Author SHA1 Message Date
k-nasa
7d616c695d refactor: change to as_mut 2019-11-16 01:58:45 +09:00
k-nasa
6cbf48f12d fix clippy warn 2019-11-16 01:29:16 +09:00
Yoshua Wuyts
3c6d41ccb4
Merge pull request #541 from yjhmelody/stream-partition
add stream-partition
2019-11-15 14:27:42 +01:00
Yoshua Wuyts
837604b833
Merge pull request #542 from yjhmelody/update-doc
update doc url
2019-11-15 14:26:36 +01:00
yjh
74caed2d4b
Update src/io/seek/mod.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
2019-11-15 18:22:06 +08:00
yjhmelody
76ec9c4563 update doc url 2019-11-15 14:33:34 +08:00
yjhmelody
d76b32e6d4 make it unstable and fix trait bound 2019-11-15 14:23:34 +08:00
yjhmelody
11268a80fb add stream-partition 2019-11-15 12:28:03 +08:00
Yoshua Wuyts
c4ba11ff95
Merge pull request #535 from async-rs/docs-sender-recv
backlink channel types
2019-11-15 03:35:43 +01:00
nasa
77a0419a3e
Merge pull request #536 from async-rs/count-unstable
mark Stream::count as unstable
2019-11-15 08:41:29 +09:00
Yoshua Wuyts
ce98834039
Merge pull request #531 from sclaire-1/master
Edit tutorial index.md
2019-11-14 22:56:13 +01:00
Yoshua Wuyts
30ff7b09b6
mark Stream::count as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-14 22:45:46 +01:00
Yoshua Wuyts
c58747b5fc
Merge pull request #368 from starsheriff/stream_count
add stream::count
2019-11-14 22:40:45 +01:00
Yoshua Wuyts
31f129ebe7
backlink channel types
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-14 22:37:04 +01:00
Yoshua Wuyts
f49d7cbbb8
Merge pull request #533 from async-rs/remove-throttle-example
remove standalone throttle example
2019-11-14 22:30:48 +01:00
Yoshua Wuyts
4e1d79adb1
Merge pull request #524 from yjhmelody/stream-max
Add Stream max
2019-11-14 21:28:36 +01:00
Yoshua Wuyts
1546448800
remove throttle example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-14 21:27:20 +01:00
Yoshua Wuyts
338273eb18
Merge pull request #356 from Wassasin/342-stream-throttle
Implemented StreamExt::throttle
2019-11-14 21:25:34 +01:00
Wouter Geraedts
dda65cbff0 Start throttle measurement before initialisation 2019-11-14 11:29:49 +01:00
Johannes Weissmann
9ebe41f2d6
Update src/stream/stream/mod.rs
Co-Authored-By: nasa <htilcs1115@gmail.com>
2019-11-14 10:34:09 +01:00
Wouter Geraedts
90c67c223a Decreased throttle test time to original values; only test lower bound 2019-11-14 10:26:56 +01:00
sclaire-1
8473b738d0
Edit tutorial index.md
Edited the structure of sentences to make it easier to read
2019-11-13 16:33:44 -08:00
Stjepan Glavina
0c2282ffdc
Optimization: a slot for the next task to run (#529)
* Optimization: a slot for the next task to run

* Only notify workers when a task is pushed into a queue
2019-11-13 20:32:37 +01:00
Florian Gilcher
d546ee3d92
Merge pull request #528 from skade/remove-nightly-note
Update version requirements in the tutorial
2019-11-13 16:31:42 +01:00
Florian Gilcher
6338341369
Merge pull request #520 from gierlachg/stream_pinning
Cleaning up stream pinning.
2019-11-13 15:56:48 +01:00
Florian Gilcher
6f4bea07a1
Update version requirements in the tutorial 2019-11-13 15:33:52 +01:00
yjhmelody
879af6dc85 Add Stream max 2019-11-13 10:50:09 +08:00
Grzegorz Gierlach
e442eba625 Cleaning up stream pinning. 2019-11-12 19:51:58 +01:00
Grzegorz Gierlach
f0875d2dca Cleaning up stream pinning. 2019-11-12 19:34:08 +01:00
Devashish Dixit
f611ceccc8 Run cargo fmt for doc comments (#515) 2019-11-12 17:47:03 +01:00
Yoshua Wuyts
74a7d93611 upgrade async-macros to 2.0.0 (#519)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 17:34:13 +01:00
Wouter Geraedts
c5b3a98e5b Increased throttle test to 10x time 2019-11-12 16:22:25 +01:00
Yoshua Wuyts
3151a70b77
Merge pull request #517 from Alexendoo/surf
Enable surf example
2019-11-12 15:59:00 +01:00
Wouter Geraedts
4ab7b213de Updated example to be consistent; added timing measurements to throttle 2019-11-12 15:38:02 +01:00
Wouter Geraedts
6990c1403f Reimplemented throttle to never drop Delay, added boolean flag 2019-11-12 15:07:20 +01:00
Wouter Geraedts
77a1849303 Merge branch '342-stream-throttle' of github.com:Wassasin/async-std into 342-stream-throttle 2019-11-12 15:03:54 +01:00
Wouter Geraedts
a722de1a10 Merge remote-tracking branch 'upstream/master' into 342-stream-throttle 2019-11-12 14:51:24 +01:00
Wouter Geraedts
88cbf2c119 Change throttle test to run in milliseconds 2019-11-12 14:51:11 +01:00
Wouter Geraedts
6f6d5e9d20
Updated throttle fn comments.
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2019-11-12 14:35:03 +01:00
Wouter Geraedts
7c7386735e
Wrap around throttle comment
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2019-11-12 14:34:31 +01:00
Alex Macleod
1b7d5bea6b Enable surf example
1.0.3 has been released with the required change
2019-11-12 12:19:11 +00:00
Yoshua Wuyts
46c58b214c
Merge pull request #514 from async-rs/stabilize-yield-now
stabilize task::yield_now
2019-11-12 02:32:55 +01:00
Yoshua Wuyts
0d5c7a217f
stabilize task::yield_now
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 02:10:55 +01:00
Yoshua Wuyts
5017117326
Merge pull request #513 from async-rs/fix-changelog
fix changelog
2019-11-12 01:55:34 +01:00
Yoshua Wuyts
9d7b2d6696
fix changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 01:36:03 +01:00
Yoshua Wuyts
643b678ea5
Merge pull request #511 from async-rs/1.0.1
1.0.1
2019-11-12 01:13:23 +01:00
Yoshua Wuyts
b5b2b5a0a3
1.0.1
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 00:48:26 +01:00
Florian Gilcher
54371c21c1
Merge pull request #510 from stjepang/fix-spawn-blocking
Improve thread startup/shutdown algorithm in spawn_blocking
2019-11-12 00:39:10 +01:00
Stjepan Glavina
1a50ffd144 Delete unused import 2019-11-12 00:38:22 +01:00
Stjepan Glavina
21c5c48cb6 Lower the timeout to 1 second 2019-11-12 00:37:54 +01:00