Commit Graph

546 Commits (5b9d34a34c33a52da64b5116efaf59d8208b6e3f)
 

Author SHA1 Message Date
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
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
dignifiedquire d9aec105a1 feat(io): implement Read::chain 5 years ago
dignifiedquire e681e297ef feat(io): implement Read::bytes 5 years ago
dignifiedquire f751ebb8c4 feat(io): implement Read::by_ref 5 years ago
dignifiedquire 75dc819b2f feat(io): implement Read::take 5 years ago
bors[bot] f6a2393fb5
Merge #241
241: Simplify extension traits using a macro r=yoshuawuyts a=stjepang

This PR would fix #235 

Async methods in our extension traits are now written in the simpler `-> impl Future<Output = T> [ConcreteFuture<Self>]` style. At the same time, doc tests are used even when the `docs` feature is not enabled.

Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
5 years ago
bors[bot] a2744e3f69
Merge #228
228: Create readme in examples directory r=stjepang a=nonnontrivial

fixes #169 

Co-authored-by: Kevin Donahue <nonnontrivial@gmail.com>
5 years ago
bors[bot] 65b9e62e13
Merge #243
243: future docs r=stjepang a=yoshuawuyts

Docs for futures concurrency. We currently don't have anything, and I figured this would be helpful in pointing folks in the right direction. Thanks!

## Screenshot

![Screenshot_2019-09-27 async_std future - Rust](https://user-images.githubusercontent.com/2467194/65730755-3c836780-e0c3-11e9-9bc5-fbf400cec7b2.png)


Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina 184427cc0b fix a bug in .travis.yml 5 years ago
Stjepan Glavina 414fadd6e6 cargo fmt 5 years ago
Kevin Donahue e8bd79efb8 add remaining examples 5 years ago
Yoshua Wuyts 70069e0014
future docs
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina 8e32fd09f3 Fix a doc test 5 years ago
Stjepan Glavina ff028bb540 Improve compile times and add comments 5 years ago
Yoshua Wuyts cc767228f7
Merge pull request #239 from async-rs/prep-0.99.7
v0.99.7
5 years ago
Yoshua Wuyts fdc8fe624d
Merge pull request #242 from async-rs/barrier-unstable
mark sync::Barrier as unstable
5 years ago
Yoshua Wuyts 0b39306b74
fix barrier tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts b2d16b613d
v0.99.7
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts c23cc769ee
mark sync::Barrier as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina 79eab9eb9a Simplify extension traits using a macro 5 years ago
Yoshua Wuyts 0f0b3548a7
Merge pull request #240 from dignifiedquire/sync-barrier
feat: implement sync::Barrier
5 years ago
Kevin Donahue ac9d0df7c2 add logging and print file examples 5 years ago