Yoshua Wuyts
b7eeed7785
Remove unused pin-utils dep
...
pin-utils is no longer used. This removes it from our dependency tree.
5 years ago
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
5 years ago
Yoshua Wuyts
b3d1fa9c98
v0.99.11
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
nasa
81e3cab00d
Change homepage link ( #389 )
5 years ago
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
5 years ago
Taiki Endo
944e43d4bf
Remove Pin API related unsafe code by using pin-project-lite cra… ( #381 )
5 years ago
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
5 years ago
Stjepan Glavina
46f0fb1c64
Make sure each invocation of block_on uses its own Parker ( #358 )
5 years ago
Yoshua Wuyts
609a5780a2
0.99.10
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
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>
5 years ago
Yoshua Wuyts
a7daae6f9c
prepare v0.99.9
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Taiki Endo
77ebedd44c
Temporarily deactivate the surf example
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
Yoshua Wuyts
4a09cbf577
prune deps
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Matt Hunzinger
60742ea364
Pin futures crate versions
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
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
dignifiedquire
b77b72d333
feat: implement sync::Barrier
...
Based on the implementation in https://github.com/tokio-rs/tokio/pull/1571
5 years ago
Yoshua Wuyts
8d31aa69cf
prepare v0.99.6
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
7fe6c8a42c
add stream::join
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
0924911ac3
Implement simple work stealing
5 years ago
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>
5 years ago
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
a4381230b8
Clean up the fs module and a few other places
5 years ago
Yoshua Wuyts
55669f5ff4
Prepare release for 0.99.5
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
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
5 years ago
Yoshua Wuyts
be71ac9d76
update deps ( #149 )
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
17c95a39d7
More robust file implementation
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Stjepan Glavina
bac74c2d7f
Reduce dependency on futures crate ( #140 )
...
* Add future::poll_fn
* Replace all uses of poll_fn with the new one
* Remove some uses of futures
* Simplify ReadDir and DirEntry
* Remove some use of futures from File
* Use futures subcrates
* Fix imports in docs
* Remove futures-util dependency
* Remove futures-executor-preview
* Refactor
* Require more features in the futures-preview crate
5 years ago
Stjepan Glavina
38a86766d3
Add future::timeout() ( #20 )
...
* Add future::timeout()
* Update src/future/timeout.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
* Update src/future/timeout.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
* Put futues::timeout behind unstable feature
5 years ago
Florian Gilcher
101979fcc3
Fix some final errors
5 years ago
Darin Morrison
05a9bd1abd
Enable "async-await" for futures-preview (select!)
...
[ci skip]
5 years ago
Florian Gilcher
393b72e4fc
Release version 0.99.4
5 years ago
Sun
0156dc879b
move surf to dev-dependencies ( #84 )
5 years ago
Stjepan Glavina
e9e3754402
Add Surf example ( #78 )
...
* Add Surf example
* Use a different osx image
5 years ago
James Munns
da8a5cef28
Add readme section to Cargo.toml ( #47 )
...
This allows crates.io to render the readme directly on the crate page
5 years ago
Florian Gilcher
e8e82c6b71
Remove surf example
...
Doesn't build on mac
5 years ago
Stjepan Glavina
6418bc9849
Fix failing docs
5 years ago
Stjepan Glavina
d21bac4663
Fix rustdoc args
5 years ago
Stjepan Glavina
3538b6b681
Fix rustdoc args
5 years ago
Stjepan Glavina
f4ff5443c8
Prepare for v0.99.0
5 years ago
Stjepan Glavina
62be014edc
Bring back surf example
5 years ago
Taiki Endo
ca582a5ade
Update urls
5 years ago
Florian Gilcher
f8633ab195
Fix git location
5 years ago
Stjepan Glavina
a2e54fcd29
Replace crossbeam with crossbeam-channel
5 years ago
Stjepan Glavina
08af9053d0
Fix broken build
5 years ago