dignifiedquire
18dffe8b43
refactor: switch to async-mutex for Mutex implementation
2020-06-26 10:30:58 +02:00
dignifiedquire
e495ba46b3
chore: release v1.6.2
2020-06-19 12:15:42 +02:00
dignifiedquire
e9c6ea873c
chore: release v1.6.1
2020-06-11 13:17:31 +02:00
Friedel Ziegelmayer
e12cf80ab0
fix: allow for recursive block-on calls
...
Fixes #798,#795,#760
2020-06-04 13:19:03 +02:00
Friedel Ziegelmayer
631105b650
Merge pull request #806 from async-rs/fix-feature-unstable
2020-06-04 12:23:32 +02:00
dignifiedquire
52c72426c1
fix: do not require the runtime to use unstable features
2020-06-03 18:38:20 +02:00
Yoshua Wuyts
166c469d1c
Add the tokio02 feature flag
2020-06-03 12:09:33 +02:00
dignifiedquire
e1c8638173
chore: release v1.6.0
2020-05-22 23:08:42 +02:00
dignifiedquire
c9ecb5bbbd
prepare v1.6.0-beta.2
2020-05-19 11:29:36 +02:00
Azriel Hoh
d3e59370e7
Switches wasm-timer
for futures-timer
.
2020-05-13 10:14:05 +12:00
dignifiedquire
bd6a7e200b
prepare v1.6.0-beta.1
2020-05-07 23:20:56 +02:00
Friedel Ziegelmayer
e4c4c93d29
Test and fix 32 bit targets
2020-05-07 23:20:44 +02:00
Thayne McCombs
6f6fced103
feat: implement Barrier using Condvar
2020-05-07 22:26:46 +02:00
dignifiedquire
26f62aafd9
make wasm deps part of std
2020-05-02 20:27:50 +02:00
dignifiedquire
7a9afbd81c
update smol
2020-05-02 20:27:50 +02:00
dignifiedquire
48dd683535
fix feature settings
2020-05-02 20:27:50 +02:00
dignifiedquire
804a52b7fd
use published smol
2020-05-02 20:27:50 +02:00
dignifiedquire
e4df1405c1
feat: add basic wasm support
2020-05-02 20:27:50 +02:00
dignifiedquire
2cd2ba3530
remove unused dependencies
2020-05-02 20:27:50 +02:00
dignifiedquire
ab9d6554aa
switch to smol::Timer
2020-05-02 20:27:50 +02:00
dignifiedquire
e082634b5e
fix spawning
2020-05-02 20:27:50 +02:00
dignifiedquire
fc9ee0dfdd
keep std::sync::Arc
2020-05-02 20:27:50 +02:00
dignifiedquire
1308fbdf55
switch to smol instead of an internal runtime
2020-05-02 20:27:50 +02:00
dignifiedquire
690ab16587
add dependency
2020-05-02 20:27:50 +02:00
Friedel Ziegelmayer
fc4e472599
Merge pull request #733 from k-nasa/new-scheduler
...
New scheduler
2020-04-07 22:50:04 +02:00
Devashish Dixit
68fa054517
Update futures-timer to 3.0.2
2020-03-30 19:30:00 +08:00
k-nasa
5c6741724f
Merge branch 'master' into new-scheduler
2020-03-20 23:17:12 +09:00
nasa
2dbebe54ed
Merge pull request #721 from k-nasa/update_dep_crate
...
update dependence crates
2020-03-20 12:33:56 +09:00
k-nasa
84e5c5f351
Merge branch 'master' into new-scheduler
2020-03-17 20:38:19 +09:00
nasa
cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros"
2020-03-12 18:34:09 +09:00
nasa
f69887a50d
Update Cargo.toml
2020-03-09 09:09:17 +09:00
k-nasa
0b0531057d
feat: update dependence crates
2020-03-08 20:46:26 +09:00
k-nasa
1e18839f1f
fix warning
2020-03-04 08:55:37 +09:00
k-nasa
f31878655e
fix: Stabilize stream method
2020-03-04 08:30:45 +09:00
Yoshua Wuyts
125fa5b0a0
Merge pull request #680 from k-nasa/no_std
...
Some modules support no_std
2020-02-04 11:02:19 +01:00
Yoshua Wuyts
39f2c6da78
V1.5.0 ( #694 )
...
* Update CHANGELOG.md
* v1.5.0
* Update CHANGELOG.md
2020-02-03 16:45:00 +01:00
k-nasa
f789f9d4f6
Select future-core featue according to feature
2020-02-01 09:47:33 +09:00
k-nasa
7efe7caf66
fix: Change feature name no-std to alloc
2020-01-28 15:58:46 +09:00
k-nasa
d622ec5d35
feat: Make the stream module no_std
2020-01-28 15:58:46 +09:00
k-nasa
6aa55fde59
feat: Make the task module no_std
2020-01-28 15:58:46 +09:00
k-nasa
4996f29778
feat: Add no-std feature
2020-01-28 15:58:46 +09:00
nasa
d283352a9a
update broadcastor to 1.0.0 ( #681 )
2020-01-16 13:07:11 -05:00
Yoshua Wuyts
0eb5ca14ac
Merge pull request #676 from k-nasa/async_task_bump_to1.2.1
...
update async-task to 1.2.1
2020-01-15 08:09:19 +01:00
k-nasa
b72dd83726
update async-task to 1.2.1
2020-01-15 11:00:03 +09:00
nasa
76ed174fd5
Version up of dependent crate ( #672 )
2020-01-14 15:26:22 +01:00
dignifiedquire
5bf3d95313
feat: do not require default feature for unstable
2020-01-11 11:44:51 +01:00
Yoshua Wuyts
3fd6d8b02e
1.4.0
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-20 11:58:32 +01:00
nasa
d8befe24e8
Revert "upgrade log, remove kv-log-macro"
2019-12-18 08:01:09 +09:00
Stjepan Glavina
36d24cd0e1
New scheduler resilient to blocking
2019-12-16 13:57:27 +01:00
Yoshua Wuyts
b7e55762d8
upgrade log, remove kv-log-macro
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-16 10:04:39 +01:00
Yoshua Wuyts
055c64e8a7
1.3.0
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-13 09:44:06 +01:00
Yoshua Wuyts
a0f3b3b753
Remove unused macros ( #610 )
...
* replace async-macros with internals only
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* clean up MaybeDone
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* inline futures_core::ready
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* remove big commented blob
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-12-11 12:49:22 +01:00
Stjepan Glavina
9627826756
Bump the version to 1.2.0
2019-11-27 16:14:43 +01:00
Yoshua Wuyts
3780ff7b44
1.1.0
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
changelog
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-21 21:49:32 +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
Yoshua Wuyts
74a7d93611
upgrade async-macros to 2.0.0 ( #519 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 17:34:13 +01:00
Alex Macleod
1b7d5bea6b
Enable surf example
...
1.0.3 has been released with the required change
2019-11-12 12:19:11 +00:00
Yoshua Wuyts
b5b2b5a0a3
1.0.1
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-12 00:48:26 +01:00
Yoshua Wuyts
4aa9928ece
v1.0.0
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-11 16:13:22 +01:00
Yoshua Wuyts
e74e246bbb
fix attributes feature
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-08 11:15:47 +01:00
Yoshua Wuyts
fd088fea38
0.99.12 ( #469 )
...
* 0.99.12
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* Update changelog with latest changes
2019-11-08 00:11:35 +00:00
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
2019-11-07 23:56:58 +00:00
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>
2019-11-07 22:10:55 +00:00
Stjepan Glavina
c34e0f8a35
Update futures to 0.3 ( #463 )
...
* Update futures to 0.3
* Fix a search-and-replace error
* Fix imports in tests
* Fix an import
2019-11-06 20:20:27 +00:00
Aleksey Kladov
fa91d7f856
Stream::merge does not end prematurely if one stream is delayed ( #437 )
...
* Stream::merge does not end prematurely if one stream is delayed
* `cargo test` without features works
* Stream::merge works correctly for unfused streams
2019-11-03 00:11:59 +01:00
Paulo
2e66c38453
Simplify default feature
2019-11-01 10:58:51 -03:00
Paulo
dcd7c55cef
Put everything behind a 'stable' feature
2019-11-01 00:41:38 -03:00
Stjepan Glavina
3dd59d7056
Refactor the task module ( #421 )
...
* Refactor the task module
* Fix clippy warning
* Simplify task-local entries
* Reduce the amount of future wrapping
* Cleanup
* Simplify stealing
2019-11-01 02:45:33 +01:00
Wu Yu Wei
ff6a44fcd5
Use once_cell instead of lazy_static ( #416 )
...
`once_cell` provides a neat way of initializing lazy singletons without
macro. This PR use `sync::Lazy` to streamline same pattern proposed in
related rust RFC.
Resolve #406
2019-10-30 11:23:08 +00:00
Yoshua Wuyts
b3d1fa9c98
v0.99.11
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-29 12:14:48 +01:00
nasa
81e3cab00d
Change homepage link ( #389 )
2019-10-25 22:14:57 +01:00
Stjepan Glavina
b2fe91385b
Add channel behind unstable feature flag ( #380 )
...
* Add channel behind unstable feature flag
* Don't check tests without unstable feature flag
* Fix typos
* Remove useless attribute
2019-10-23 17:02:03 +01:00
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
2019-10-23 10:35:02 +01:00
Stjepan Glavina
ec23632f3e
Cleanup: replace cfg-if with our macros ( #361 )
...
* Cleanup: replace cfg-if with our macros
* Prefix macros with cfg_
* Remove #[macro_export] from internal macros
2019-10-17 19:17:49 +02:00
Stjepan Glavina
46f0fb1c64
Make sure each invocation of block_on uses its own Parker ( #358 )
2019-10-17 11:52:42 +02:00
Yoshua Wuyts
609a5780a2
0.99.10
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 17:51:32 +02:00
Yoshua Wuyts
e938527f66
add stream::interval ( #298 )
...
* add stream::interval
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* fix tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* cross-docs
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
* update deps
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 15:30:24 +02:00
Yoshua Wuyts
a7daae6f9c
prepare v0.99.9
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-09 12:45:38 +02:00
Taiki Endo
77ebedd44c
Temporarily deactivate the surf example
2019-10-02 02:23:41 +09:00
Taiki Endo
f0bf66d0df
Update futures-preview to 0.3.0-alpha.19
2019-09-29 00:38:49 +09:00
Florian Gilcher
155256cfd6
Merge pull request #254 from async-rs/release-0.99.8
...
Release 0.99.8
2019-09-28 16:49:28 +02:00
Florian Gilcher
b2df0d37fb
Release 0.99.8
2019-09-28 16:32:11 +02:00
Florian Gilcher
47daf555f3
Pin futures to 0.3.0-alpha.18
2019-09-28 16:31:36 +02:00
Yoshua Wuyts
4a09cbf577
prune deps
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-28 01:50:38 +02:00
Matt Hunzinger
60742ea364
Pin futures crate versions
2019-09-27 13:29:06 -04:00
Yoshua Wuyts
cc767228f7
Merge pull request #239 from async-rs/prep-0.99.7
...
v0.99.7
2019-09-26 17:46:35 +02:00
Yoshua Wuyts
b2d16b613d
v0.99.7
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-26 16:44:36 +02:00
Yoshua Wuyts
c23cc769ee
mark sync::Barrier as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-26 16:34:44 +02:00
dignifiedquire
b77b72d333
feat: implement sync::Barrier
...
Based on the implementation in https://github.com/tokio-rs/tokio/pull/1571
2019-09-25 21:10:06 +02:00
Yoshua Wuyts
8d31aa69cf
prepare v0.99.6
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-19 14:24:58 +02:00
Yoshua Wuyts
7fe6c8a42c
add stream::join
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-19 13:53:36 +02:00
Stjepan Glavina
0924911ac3
Implement simple work stealing
2019-09-17 11:12:47 +02:00
bors[bot]
ee31f68e80
Merge #190 #200
...
190: Clean up the fs module and a few other places r=stjepang a=stjepang
Just a cleanup for various pieces of documentation, mainly around the `lib.rs` docs, the prelude, and the `fs` module. Some small bugs are also fixed along the way.
This PR is the first one in a series of review PRs that I will be submitting before the upcoming 1.0 release.
200: expose IoSlice, IoSliceMut r=stjepang a=yoshuawuyts
Exposes `io::IoSlice` and `io::IoSliceMut`. Given we're returning these from `read_vectored` and `write_vectored` it might make sense to just include them as part of our re-exports. Thanks!
Ref #131 .
Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 13:51:12 +00:00
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 14:07:06 +02:00
Stjepan Glavina
a4381230b8
Clean up the fs module and a few other places
2019-09-14 01:24:31 +02:00
Yoshua Wuyts
55669f5ff4
Prepare release for 0.99.5
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-12 13:17:29 +02:00
James Munns
a8090be3eb
Fix book to use futures_channel and futures_util, re-enable testing ( #172 )
...
* Fix book to use futures_channel and futures_util, re-enable testing
* Make dev dependencies for the book explicit
2019-09-10 12:54:06 +02:00
Yoshua Wuyts
be71ac9d76
update deps ( #149 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-08 12:56:25 +02:00
Stjepan Glavina
17c95a39d7
More robust file implementation
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:17:20 +02:00