2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-28 19:26:49 +00:00
Commit graph

32 commits

Author SHA1 Message Date
Orion Gonzalez
baca31f404 fix lints 2024-11-07 12:12:04 +01:00
Nicholas Nethercote
01ede03e0a Reindent de-macrofied code.
This commit only affects whitespace; `git diff -w` for it is empty.
2022-03-11 13:16:30 +11:00
Nicholas Nethercote
1146c66f1b Remove extension_trait.
At this point, `extension_trait` is basically an expensive no-op. This
commit removes it. The next commit will adjust the indentation.
2022-03-11 13:14:40 +11:00
Nicholas Nethercote
2dde8820fa Remove what's left of the first trait in extension_trait. 2022-03-11 13:14:03 +11:00
Nicholas Nethercote
1c70420c5a Move the base trait re-export outside of extension_trait. 2022-03-11 13:12:56 +11:00
Nicholas Nethercote
c626a69670 Move the blanket impl outside of extension_trait. 2022-03-11 13:12:08 +11:00
Nicholas Nethercote
6b3667d1a4 Remove unnecessary types in extension_trait.
The remaining type requires the square brackets (for now) because a `ty`
cannot immediately precede a `$(tt)*`.
2022-03-11 13:10:28 +11:00
Nicholas Nethercote
c10d2d3a6f Simplify the first trait in extension_trait.
The body and doc comment are no longer used.
2022-03-11 13:09:30 +11:00
Nicholas Nethercote
ed2fcce557 Remove docs-only features from extension_trait.
This is the `@doc` rules, the shim trait impls, and the imports.
2022-03-11 12:46:59 +11:00
Nicholas Nethercote
e19ab626a1 Remove unused parameter from extension_trait! rules.
Two of the rules have `(+ $lt:lifetime)?` that is not used on the RHS
and serves no useful purpose. This commit removes it.
2022-03-11 09:31:01 +11:00
dignifiedquire
92532612b7 mark spawn_local unstable 2020-05-02 20:27:50 +02:00
dignifiedquire
e4df1405c1 feat: add basic wasm support 2020-05-02 20:27:50 +02:00
k-nasa
43f4f393af fix missing export for the return value 2019-12-17 22:48:14 +09:00
yjhmelody
76ec9c4563 update doc url 2019-11-15 14:33:34 +08:00
Stjepan Glavina
a757cc02dc Expose extension traits in preludes 2019-11-06 00:21:32 +01:00
Stjepan Glavina
43bb59cd02 Fix some links in docs 2019-11-05 17:49:05 +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
Yoshua Wuyts
49faea2023 init FutureExt (#308)
* init FutureExt

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

* prelude

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

* Refactor extension_trait

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

* Fix rustdoc

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 16:27:06 +02:00
Taiki Endo
f0bf66d0df Update futures-preview to 0.3.0-alpha.19 2019-09-29 00:38:49 +09:00
dignifiedquire
064b44f695 apply cr 2019-09-27 18:49:23 -06:00
dignifiedquire
d9aec105a1 feat(io): implement Read::chain 2019-09-27 16:30:38 +02:00
dignifiedquire
e681e297ef feat(io): implement Read::bytes 2019-09-27 15:14:24 +02:00
dignifiedquire
f751ebb8c4 feat(io): implement Read::by_ref 2019-09-27 15:10:40 +02:00
dignifiedquire
75dc819b2f feat(io): implement Read::take 2019-09-27 15:07:05 +02:00
Stjepan Glavina
414fadd6e6 cargo fmt 2019-09-26 23:13:02 -04:00
Stjepan Glavina
ff028bb540 Improve compile times and add comments 2019-09-26 14:21:27 -04:00
Stjepan Glavina
79eab9eb9a Simplify extension traits using a macro 2019-09-26 07:46:29 -04:00
Stjepan Glavina
edfa2358a4 Re-export IO traits from futures 2019-09-21 14:30:52 +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
910801e2d6
fix doc compile
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:15:21 +02:00
Yoshua Wuyts
e1137345d4
cargo fmt
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:15:21 +02:00
Yoshua Wuyts
a90100962d
split io::read into multiple files
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-07 23:15:21 +02:00
Renamed from src/io/read.rs (Browse further)