Commit Graph

952 Commits (6b0a81012b250983f5bb8242c0bc6c14d44ce6c8)
 

Author SHA1 Message Date
James Munns 6b0a81012b Just use serde as a feature directly 5 years ago
James Munns c5a757fb60 Add default as a serde dependency 5 years ago
James Munns bcc134cd02 Fix feature name 5 years ago
James Munns 4e88f104c5 Add proof of concept serde support with PathBuf 5 years ago
Florian Gilcher 54371c21c1
Merge pull request #510 from stjepang/fix-spawn-blocking
Improve thread startup/shutdown algorithm in spawn_blocking
5 years ago
Stjepan Glavina 1a50ffd144 Delete unused import 5 years ago
Stjepan Glavina 21c5c48cb6 Lower the timeout to 1 second 5 years ago
Stjepan Glavina 6677d52c2d Improve thread creating algorithm in spawn_blocking 5 years ago
CosciaDiPollo 9ad0cf9f80 Correct a typo on the async-std version (#508)
Correct a typo on the async-std version in the Cargo.toml file of the documentation.
5 years ago
Yoshua Wuyts 980c30e90f
Merge pull request #496 from async-rs/1.0.0
1.0.0
5 years ago
Yoshua Wuyts 4aa9928ece
v1.0.0
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts eea7af24db
fix bugs in changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts 76c5ffe9ab
Merge pull request #506 from stjepang/cleanup-stream
Cleanup stream module
5 years ago
Stjepan Glavina 5438258cee Remove unused import 5 years ago
Stjepan Glavina dc5d143c16 Merge branch 'master' into cleanup-stream 5 years ago
Stjepan Glavina c2f750d288 Cleanup stream module 5 years ago
Stjepan Glavina 352f18bc2a
Use async_std::sync::Arc in examples (#501) 5 years ago
Stjepan Glavina 417b548692
Cleanup path module (#497)
* Cleanup path module

* Derive clone for PathBuf and remove unused import

* impl AsRef<Path> for std::path::PathBuf

* Fix a doc comment
5 years ago
Stjepan Glavina 122e87364b Remove cache padding in channels 5 years ago
Yoshua Wuyts 925b42bc89
Merge pull request #493 from stjepang/cleanup-future
Cleanup future module
5 years ago
Stjepan Glavina d4f38e783f Cleanup future module 5 years ago
Yoshua Wuyts 96d3560742 remove future::*join macros (#492)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts ac1042a9ca note on Stream::merge ordering (#491)
* note on Stream::merge ordering

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* Update src/stream/stream/mod.rs
5 years ago
Stjepan Glavina 9e185f1c3e
Unstable feature: copy takes arguments by value (#471)
* Unstable feature: copy takes arguments by value

* Fix feature flags
5 years ago
Yoshua Wuyts 89d611628a
Merge pull request #483 from ryan-scott-dev/rscott/pathbuf_fromiter
Add FromIterator and Extend trait implementations for PathBuf
5 years ago
Yoshua Wuyts e9c0f8f6b5
Merge pull request #481 from async-rs/fix-proc-macro-render
fix attributes feature
5 years ago
Yoshua Wuyts 16565ccfbc
Merge pull request #489 from jaysonsantos/pathbuf-fromstr
Implement FromStr for PathBuf
5 years ago
Yoshua Wuyts 74882c119d
check attributes
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Jayson Reis d8e52c1002
Implement FromStr for PathBuf
This makes PathBuf compatible with std version as you can simply call
let path: PathBuf = FromStr::from_str(s).unwrap()
5 years ago
Yoshua Wuyts 037119c0c0
Merge pull request #478 from portgasd666/master
Add Future::join and Future::try_join
5 years ago
Stjepan Glavina 548733e5d5
Cleanup stream traits (#487)
* Cleanup stream traits

* Fix docs
5 years ago
Abhishek C. Sharma f04b6f6fe9 Change module level docs for future to refer to join and try_join functions instead of macros 5 years ago
Friedel Ziegelmayer 4a78f731b7 fix: stream::take_while (#485)
When the predicate is false, the stream should be ended.
5 years ago
nasa d2d63348c7 Stable and beta add to CI (#482)
* Add stable and beta

* Add benches
5 years ago
Ryan Scott 8f3366072f Add FromIterator and Extend trait implementations for PathBuf 5 years ago
Yoshua Wuyts e74e246bbb
fix attributes feature
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
laizy fb19ebde17 add `Sync` constraint for RwLock to prevent memory unsafety (#479) 5 years ago
Abhishek C. Sharma b14282457c Add Future::join and Future::try_join 5 years ago
Stjepan Glavina ab2f64cd84 Mark extend() as unstable 5 years ago
Yoshua Wuyts fd088fea38 0.99.12 (#469)
* 0.99.12

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* Update changelog with latest changes
5 years ago
Yoshua Wuyts 335bd34470 Add "std" feature flag (#476)
* core feature

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* introduce std + default features

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* test std features on ci

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* finish up all features

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* Fix task_local macro

* Remove crossbeam-channel and futures-timer from std

* Move future::timeout() behind cfg_default
5 years ago
Stjepan Glavina f588ba6bdd
Spawn more than one blocking thread (#475)
* Spawn more than 1 blocking thread

* Fix a bug

* Fix check when the thread is last sleeping
5 years ago
Yoshua Wuyts 84880c4d8b re-export async-attributes (#238)
* re-export async-attributes

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* doc order

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* rebase + rename feature to "attributes"

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* only expose test and main

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* async-attributes 1.1.0

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina bc24503382
Fix deadlock when all receivers are dropped (#474)
* Fix deadlock when all receivers are dropped

* Add a comment to explain the behavior of try_send

* Disable clippy
5 years ago
Yoshua Wuyts 266e6326eb document path submodule (#467)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina f8e82564d9
Rename stream_extend to extend (#464)
* Rename stream_extend to extend

* Remove Extend from prelude

* Add stream::extend()
5 years ago
Abhishek C Sharma eb1ef3f4e4 Minor documentation fix for race and try_race (#473) 5 years ago
Yoshua Wuyts d0f1996759
Merge pull request #388 from felipesere/cycle
Implement stream::cycle(..)
5 years ago
Yoshua Wuyts 8a0e29473a
Merge pull request #446 from yjhmelody/stream-cloned
Add Stream cloned
5 years ago
Yoshua Wuyts 2cb887e154
Merge pull request #465 from async-rs/non-pub-flatten
hide future::Flatten::new
5 years ago