Commit Graph

567 Commits (30b5ca58512de8b24aa608c8f0c4b80f4c9bc789)
 

Author SHA1 Message Date
Yoshua Wuyts 5bd6acde46
Merge pull request #263 from montekki/fs-stream-map
Adds stream map combinator
5 years ago
Yoshua Wuyts 6bae6b16f2
Merge pull request #267 from k-nasa/fix_github_actions
Add pull_request event to github actions hooks
5 years ago
Yoshua Wuyts 50b6d0b15f
Merge pull request #269 from montekki/fs-stream-try-for-each
Adds try_for_each combinator
5 years ago
Sunjay Varma 09a15ef116 Implementing Extend for String in terms of for_each now that that's been added 5 years ago
Sunjay Varma d6f16b6a17 rustfmt 5 years ago
Sunjay Varma b878855bc3 **CHANGES** extend trait in order to allow FromStream impls for String 5 years ago
bors[bot] 98c79f4ff9
Merge #255
255: Update futures-preview to 0.3.0-alpha.19 r=skade a=taiki-e

Depends on https://github.com/rustasync/surf/pull/74

Refs:
* https://github.com/rust-lang-nursery/futures-rs/issues/1761
* https://github.com/rust-lang-nursery/futures-rs/pull/1845


cc @skade @stjepang @yoshuawuyts 

Co-authored-by: Taiki Endo <te316e89@gmail.com>
5 years ago
Taiki Endo 77ebedd44c Temporarily deactivate the surf example 5 years ago
Fedor Sakharov 35ab65fe8e
Fix docs 5 years ago
Fedor Sakharov f4e2302e7e
Don't use Try trait, use Result instead 5 years ago
k-nasa c947cf4043 fix github actions event 5 years ago
k-nasa 7ea3f4d0e2 fix github actions evnet 5 years ago
Yoshua Wuyts a97a1fffff
Merge pull request #264 from montekki/fs-stream-for-each
Adds for_each stream combinator
5 years ago
Yoshua Wuyts 0b57100e27
Merge pull request #265 from sunjay/fromstream-option-vec
FromStream impl for Option<T> + Revised impl for Vec<T>
5 years ago
k-nasa cc21bdf068 $cargo fmt 5 years ago
k-nasa c31861aa65 rafactor if expression 5 years ago
k-nasa f08fcd0bbb refactor 5 years ago
k-nasa 87b272f83d refacotr: Refactor match expression 5 years ago
k-nasa 2460f35768 fix: Remove unnecessary Borrowed
Each implements a Copy trait
5 years ago
k-nasa 468cb6348f fix: Remove unnecessary &mut 5 years ago
k-nasa 6253e97717 feat: Add Default trait 5 years ago
Fedor Sakharov 66d38f7856
Adds try_for_each combinator 5 years ago
k-nasa da9cbd99c4 Add hook pull_request event 5 years ago
Sunjay Varma a05b564486 rustfmt 5 years ago
Sunjay Varma fb7582bd7a Using Box::pin(...) instead of Pin::from(Box::new(...)) 5 years ago
Sunjay Varma ab7129cd45 FromStream for Vec<T> in terms of Extend 5 years ago
Sunjay Varma 76b10c4784 FromStream for Option<T> 5 years ago
Fedor Sakharov 6da7efc5ac
Adds for_each stream combinator 5 years ago
Fedor Sakharov 658a16bebe
Adds stream map combinator 5 years ago
Florian Gilcher 33d2191cec
Merge pull request #253 from k-nasa/add_github_ci
Add github actions workflows
5 years ago
k-nasa 4bbc95b6a2 fix 5 years ago
bors[bot] 247afb450b
Merge #260
260: update Barrier example to match std::sync::Barrier 1:1 r=yoshuawuyts a=yoshuawuyts

This makes our impl's exmaple match [std's Barrier example](https://doc.rust-lang.org/std/sync/struct.Barrier.html) 1:1. Thanks!

Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
nasa 3b213e95d7
Update .github/workflows/ci.yml
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
5 years ago
Yoshua Wuyts 06862d47c3
update Barrier example to match std::sync::Barrier 1:1
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
bors[bot] 5881d9adde
Merge #256
256: update changelog r=yoshuawuyts a=yoshuawuyts

Updates the changelog for 0.99.8. Thanks!

Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 000c98bf88
update changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Taiki Endo f0bf66d0df Update futures-preview to 0.3.0-alpha.19 5 years ago
Florian Gilcher 155256cfd6
Merge pull request #254 from async-rs/release-0.99.8
Release 0.99.8
5 years ago
Florian Gilcher b2df0d37fb
Release 0.99.8 5 years ago
Florian Gilcher 47daf555f3
Pin futures to 0.3.0-alpha.18 5 years ago
k-nasa f8de25168d Add github actions workflows 5 years ago
bors[bot] b8b25b1781
Merge #252
252: prune deps r=yoshuawuyts a=yoshuawuyts

This makes `broadcaster` use `std::sync::Mutex` rather than `parking_lot`, saving on some deps. Thanks!

Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
bors[bot] 383f7e9322
Merge #245
245: feat: missing Read and Write methods r=yoshuawuyts a=dignifiedquire

Ref: #131 

- [x] Read::by_ref
- [x] Read::bytes
- [x] Read::chain
- [x] Read::take
- [ ] Write::by_ref
- [ ] ~~Write::write_fmt~~ postponed until https://github.com/async-rs/async-std/issues/247 is solved

Needs fixing:

- [x] `BufRead` for `Take`
- [x] `BufRead` for `Chain`
- [ ] `by_ref` conflict between `Read` and `Write`, unable to add both, as they conflict, and the current state of things does not allow to differentiate between the two.


Co-authored-by: dignifiedquire <dignifiedquire@users.noreply.github.com>
5 years ago
dignifiedquire 064b44f695 apply cr 5 years ago
Yoshua Wuyts 4a09cbf577
prune deps
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 958d3a9e27
add an unstable `task::spawn_blocking` function
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Florian Gilcher 8a5144f60e
Merge pull request #250 from matthunz/patch-1
Pin futures crate versions
5 years ago
Matt Hunzinger 60742ea364
Pin futures crate versions 5 years ago
dignifiedquire a1aa3f823d finish BufRead 5 years ago
dignifiedquire dc6c8fb131 feat(io): add stub for BufRead for Take 5 years ago