Stjepan Glavina
548733e5d5
Cleanup stream traits ( #487 )
...
* Cleanup stream traits
* Fix docs
2019-11-09 11:22:09 +01:00
Stjepan Glavina
a757cc02dc
Expose extension traits in preludes
2019-11-06 00:21:32 +01:00
Yoshua Wuyts
6f9436e575
mark stdio-lock structs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-02 23:54:27 +01:00
k-nasa
3dcad984b4
fix: To unstable feature
2019-11-02 12:34:53 +09:00
k-nasa
81873ae5f3
fix
2019-11-02 01:27:27 +09:00
k-nasa
0661f774c2
Merge branch 'master' into add_stdin_lock
2019-11-01 21:20:38 +09: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
k-nasa
caa23381f0
fix clippy warning
2019-11-01 10:41:21 +09:00
k-nasa
eeb44c86e9
fix
2019-11-01 10:34:28 +09:00
k-nasa
2c91b30ee8
feat: Add Read and Write trait to Lock struct
2019-10-29 23:12:32 +09:00
k-nasa
35cb11e398
Merge branch 'master' into add_stdin_lock
2019-10-29 16:01:58 +09:00
Yoshua Wuyts
4475a229d6
backlink io docs
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-27 22:46:18 +01:00
k-nasa
59615a655b
feat: Add StderrLock and StdoutLock struct
2019-10-27 22:04:43 +09:00
k-nasa
48b255897e
Merge branch 'master' into add_stdin_lock
2019-10-24 18:34:42 +09: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
k-nasa
f2bf01223c
$cargo fmt
2019-10-17 16:34:39 +09:00
k-nasa
70e8476264
fix StdinLock doc test
2019-10-17 16:32:14 +09:00
k-nasa
a5a00d7b14
feat: Add StdinLock struct
2019-10-17 16:29:23 +09:00
Yoshua Wuyts
b4c1c63fd2
task::blocking async closure -> FnOnce
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-15 16:01:24 +02:00
k-nasa
9b09806593
feat: Add Stdin::lock
2019-10-15 21:44:11 +09:00
Yoshua Wuyts
647aab819f
impl feedback
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-10-08 14:55:09 +02:00
Stjepan Glavina
1fa196812a
Fix compilation errors around Stream
2019-09-21 15:05:57 +02:00
Stjepan Glavina
edfa2358a4
Re-export IO traits from futures
2019-09-21 14:30:52 +02:00
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
2019-09-05 01:22:41 +02:00
Yoshua Wuyts
63ad786768
remove async_await feature gate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-08-21 00:29:35 -07:00
Stjepan Glavina
9b3e8b8f26
Use our own Sink/Empty and fix compilation errors
2019-08-15 11:47:20 +02:00
Stjepan Glavina
019c8085f4
Cleanup examples
2019-08-14 03:47:39 +02:00
Stjepan Glavina
9d8ac36813
Rename feature docs.rs to docs
2019-08-12 19:50:30 +02:00
Stjepan Glavina
a430e27819
Cleanup, docs, fmt
2019-08-12 18:00:21 +02:00
Stjepan Glavina
e44451a042
Revamp IO traits and Stream trait
2019-08-12 12:50:35 +02:00
Stjepan Glavina
3f4a56abdc
Reformat doc examples
2019-08-09 02:56:59 +02:00
Florian Gilcher
5b0a6269a9
Initial commit
2019-08-08 14:44:48 +02:00