Stjepan Glavina
65afd41a33
Once doesn't need Unpin bound ( #554 )
2019-11-19 05:04:18 +01:00
Stjepan Glavina
d3e7f32a30
Macro optimization to reduce compilation times
2019-11-18 15:47:45 +00:00
Razican
f6829859fe
Fixed deduplication of code
2019-11-18 16:39:21 +01:00
hhggit
2c9b558d14
add os::windows::symlink_{dir,file}
2019-11-18 10:20:07 +08:00
Pascal Hertleif
99ddfb3f93
Wrap code more clearly in cfg blocks
2019-11-17 23:11:11 +01:00
Pascal Hertleif
8ce3e78952
verbose errors feature
...
This adds a new "verbose-errors" feature flag to async-std that enables
wrapping certain errors in structures with more context. As an example,
we use it in `fs::File::{open,create}` to add the given path to the
error message (something that is lacking in std to annoyance of many).
2019-11-17 21:54:44 +01:00
yjhmelody
223fcc30ee
fix code style for stream
2019-11-17 00:35:56 +08:00
k-nasa
76975a4441
Merge branch 'master' into fix_clippy
2019-11-16 02:41:39 +09:00
Yoshua Wuyts
355e2eded8
Merge pull request #547 from async-rs/unpin-successors-test
...
remove pin_mut from successors test
2019-11-15 18:24:58 +01:00
Yoshua Wuyts
6cc9e4dd2b
Merge pull request #544 from async-rs/update-futures-timer
...
update futures-timer & other deps
2019-11-15 18:12:03 +01:00
Yoshua Wuyts
ee23ba6e94
Merge pull request #545 from yjhmelody/stream-partition-patch
...
use `as_mut` for stream-partition
2019-11-15 18:08:51 +01:00
Yoshua Wuyts
d68dc659b2
remove pin_mut from successors test
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-15 18:08:00 +01:00
Yoshua Wuyts
b5c3fb8bb5
Merge pull request #363 from felipesere/async-successors
...
Async successors
2019-11-15 18:04:10 +01:00
k-nasa
7d616c695d
refactor: change to as_mut
2019-11-16 01:58:45 +09:00
yjhmelody
a69b3a8a9e
use as_mut
for stream-partition
2019-11-16 00:54:50 +08:00
k-nasa
a05b6a3810
fix: mutable ref
2019-11-16 01:36:53 +09:00
k-nasa
6cbf48f12d
fix clippy warn
2019-11-16 01:29:16 +09:00
k-nasa
91ee4c7b9f
doc: Add stream unzip doc
2019-11-16 01:16:48 +09:00
k-nasa
603b3c5085
add: Add stream unzip
2019-11-16 01:16:35 +09:00
Yoshua Wuyts
693a7257b8
Merge pull request #538 from k-nasa/stream_by_ref
...
Add stream by_ref
2019-11-15 17:14:17 +01:00
Yoshua Wuyts
8779c04dc7
upgrade all deps
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-15 16:59:58 +01:00
Yoshua Wuyts
3564be9c0c
update futures-timer dep
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-15 16:58:33 +01:00
k-nasa
df92c63337
fix: Add unstable features
2019-11-16 00:29:54 +09:00
k-nasa
31cf932d80
wip: Add stream unzip
2019-11-16 00:24:59 +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
k-nasa
de67bf0fd4
feat: Add stream by_ref
2019-11-15 11:17:39 +09:00
k-nasa
4ef55d4d7b
Enable CI on master branch
2019-11-15 09:01:41 +09: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
Felipe Sere
64216b8e6b
Take a normal closure, not an async one
2019-11-14 21:49:24 +01:00
Felipe Sere
786a52a09d
Slight miss-merge
2019-11-14 21:37:51 +01:00
Felipe Sere
f14b37ff17
Remoe the T: Copy bound on the item
2019-11-14 21:35:38 +01:00
Felipe Sere
7677e9a3df
Make the closure take a borrow to the value
2019-11-14 21:35:38 +01:00
Felipe Sere
bfb42b432e
Rearrange docs to match 'repeat'
2019-11-14 21:35:38 +01:00
Felipe Sere
4c09cdbeac
Mark successors as unstable
2019-11-14 21:35:38 +01:00
Felipe Sere
243cdd7ff1
Slight miss-merge
2019-11-14 21:35:19 +01:00
Felipe Sere
a257b7018c
Rename some variables to match iter
2019-11-14 21:35:19 +01:00
Felipe Sere
af928163e4
Got further! Thx Josh!
2019-11-14 21:35:19 +01:00
Felipe Sere
8d97e0f974
Only produes empty value if next is ever a 'None'
2019-11-14 21:35:19 +01:00
Felipe Sere
266754897e
Rename the module to 'successors'
2019-11-14 21:35:19 +01:00