Commit Graph

1038 Commits (c7046432965b374ed7bc03dc35b6e465a706b215)
 

Author SHA1 Message Date
Pascal Hertleif c704643296 Remove verbose-errors cargo feature 5 years ago
Pascal Hertleif 99ddfb3f93 Wrap code more clearly in cfg blocks 5 years ago
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).
5 years ago
Yoshua Wuyts 355e2eded8
Merge pull request #547 from async-rs/unpin-successors-test
remove pin_mut from successors test
5 years ago
Yoshua Wuyts 6cc9e4dd2b
Merge pull request #544 from async-rs/update-futures-timer
update futures-timer & other deps
5 years ago
Yoshua Wuyts ee23ba6e94
Merge pull request #545 from yjhmelody/stream-partition-patch
use `as_mut` for stream-partition
5 years ago
Yoshua Wuyts d68dc659b2
remove pin_mut from successors test
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts b5c3fb8bb5
Merge pull request #363 from felipesere/async-successors
Async successors
5 years ago
yjhmelody a69b3a8a9e use `as_mut` for stream-partition 5 years ago
Yoshua Wuyts 693a7257b8
Merge pull request #538 from k-nasa/stream_by_ref
Add stream by_ref
5 years ago
Yoshua Wuyts 8779c04dc7
upgrade all deps
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 3564be9c0c
update futures-timer dep
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
k-nasa df92c63337 fix: Add unstable features 5 years ago
Yoshua Wuyts 3c6d41ccb4
Merge pull request #541 from yjhmelody/stream-partition
add stream-partition
5 years ago
Yoshua Wuyts 837604b833
Merge pull request #542 from yjhmelody/update-doc
update doc url
5 years ago
yjh 74caed2d4b
Update src/io/seek/mod.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
5 years ago
yjhmelody 76ec9c4563 update doc url 5 years ago
yjhmelody d76b32e6d4 make it unstable and fix trait bound 5 years ago
yjhmelody 11268a80fb add stream-partition 5 years ago
Yoshua Wuyts c4ba11ff95
Merge pull request #535 from async-rs/docs-sender-recv
backlink channel types
5 years ago
k-nasa de67bf0fd4 feat: Add stream by_ref 5 years ago
nasa 77a0419a3e
Merge pull request #536 from async-rs/count-unstable
mark Stream::count as unstable
5 years ago
Yoshua Wuyts ce98834039
Merge pull request #531 from sclaire-1/master
Edit tutorial index.md
5 years ago
Yoshua Wuyts 30ff7b09b6
mark Stream::count as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts c58747b5fc
Merge pull request #368 from starsheriff/stream_count
add stream::count
5 years ago
Yoshua Wuyts 31f129ebe7
backlink channel types
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts f49d7cbbb8
Merge pull request #533 from async-rs/remove-throttle-example
remove standalone throttle example
5 years ago
Felipe Sere 64216b8e6b Take a normal closure, not an async one 5 years ago
Felipe Sere 786a52a09d Slight miss-merge 5 years ago
Felipe Sere f14b37ff17 Remoe the T: Copy bound on the item 5 years ago
Felipe Sere 7677e9a3df Make the closure take a borrow to the value 5 years ago
Felipe Sere bfb42b432e Rearrange docs to match 'repeat' 5 years ago
Felipe Sere 4c09cdbeac Mark successors as unstable 5 years ago
Felipe Sere 243cdd7ff1 Slight miss-merge 5 years ago
Felipe Sere a257b7018c Rename some variables to match iter 5 years ago
Felipe Sere af928163e4 Got further! Thx Josh! 5 years ago
Felipe Sere 8d97e0f974 Only produes empty value if next is ever a 'None' 5 years ago
Felipe Sere 266754897e Rename the module to 'successors' 5 years ago
Felipe Sere 554d5cfbc1 Slight renamings 5 years ago
Felipe Sere 8b662b659d Run rustfmt 5 years ago
Felipe Sere 95a3e53fcd Only use the Option of the future to decide to construct a new one 5 years ago
Felipe Sere 02b261de10 It compiles! Store the future and poll it instead of creating multiple new ones 5 years ago
Felipe Sere fe3c9ef626 First attempt at successor 5 years ago
Yoshua Wuyts 4e1d79adb1
Merge pull request #524 from yjhmelody/stream-max
Add Stream max
5 years ago
Yoshua Wuyts 1546448800
remove throttle example
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 338273eb18
Merge pull request #356 from Wassasin/342-stream-throttle
Implemented StreamExt::throttle
5 years ago
Wouter Geraedts dda65cbff0 Start throttle measurement before initialisation 5 years ago
Johannes Weissmann 9ebe41f2d6
Update src/stream/stream/mod.rs
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
Wouter Geraedts 90c67c223a Decreased throttle test time to original values; only test lower bound 5 years ago
sclaire-1 8473b738d0
Edit tutorial index.md
Edited the structure of sentences to make it easier to read
5 years ago