2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-29 00:35:31 +00:00
Commit graph

1601 commits

Author SHA1 Message Date
dignifiedquire
1f6bb8b01a feat: add process module
Reexport based on async-process
2020-12-01 15:51:38 +01:00
dignifiedquire
da236ae39b more deprecation fixes 2020-12-01 15:48:21 +01:00
dignifiedquire
36366cd4d9 fix warnings 2020-12-01 15:25:11 +01:00
dignifiedquire
8c0e319e94 feat: new channels
- add new top level `channels` module (stable) based on `async-channel`
- deprecate `sync::channel`
2020-12-01 15:10:38 +01:00
hhggit
3bb121dc1e reset timer after timeout was ready 2020-11-28 09:07:14 +08:00
Yoshua Wuyts
73035006dc
Merge pull request #910 from taiki-e/pin-project-lite
Update pin-project-lite to 0.2.0
2020-11-22 12:39:01 +01:00
Taiki Endo
42c44045ad Update pin-project-lite to 0.2.0 2020-11-14 05:28:27 +09:00
Yoshua Wuyts
e5191aec8a
Merge pull request #909 from Silvea12/master
Updated docs to correct version + mention tokio03 feature flag
2020-11-06 12:41:46 +01:00
Yoshua Wuyts
a2ea3c7395
Merge pull request #903 from taiki-e/stream-cycle
Fix double drop in StreamExt::cycle
2020-11-05 12:27:50 +01:00
Andrew Silver
7d20a4435c
Fixed updated docs to match the 80 column style the rest of the docs use 2020-11-05 08:15:34 +11:00
Andrew Silver
738fd46618
Updated docs to correct version + mention tokio03 feature flag, updated CHANGELOG.md to add diff for 1.6.5...1.7.0 2020-11-05 08:12:38 +11:00
Yoshua Wuyts
0f50f3c978
Merge pull request #902 from async-rs/v1.7.0
v1.7.0
2020-11-04 11:22:20 +01:00
Taiki Endo
e8dc2c0571 Fix double drop in StreamExt::cycle 2020-11-02 07:10:18 +09:00
Yoshua Wuyts
ca84dbdd40 v1.7.0 2020-10-30 12:37:03 +01:00
Marc-Antoine Perennou
11196c853d
chore: update dependencies 2020-10-20 14:45:37 +02:00
Yoshua Wuyts
cc4bb943b0
Merge pull request #895 from Keruspe/tokio03
add tokio03 feature
2020-10-17 18:00:24 +02:00
Marc-Antoine Perennou
a5f72f140f add tokio03 feature
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-10-16 10:51:39 +02:00
Friedel Ziegelmayer
f09fa42042
Merge pull request #890 from async-rs/1-6-5 2020-09-28 19:18:10 +02:00
dignifiedquire
0d50906a80 chore: release v1.6.5 2020-09-28 19:11:21 +02:00
Friedel Ziegelmayer
c4eb910c21
Merge pull request #889 from stjepang/fix-incoming
Store a future inside Incoming
2020-09-28 19:06:34 +02:00
Stjepan Glavina
f7aa962daf Store a future inside Incoming 2020-09-28 18:58:45 +02:00
Yoshua Wuyts
e8126633a8
Merge pull request #882 from Keruspe/tokio-fix
fix tokio compatibility
2020-09-22 18:00:07 +02:00
Marc-Antoine Perennou
3e94498741 fix tokio compatibility
Move it into async-global-executor

Fixes #881

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-09-22 17:13:39 +02:00
Yoshua Wuyts
4de2d12bbf
Merge pull request #879 from Keruspe/cleanup
Drop unused async-task
2020-09-18 10:16:47 +02:00
Marc-Antoine Perennou
67b9a210b3 update async-global-executor
make sure we pull in the deadlock fix

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-09-18 10:05:09 +02:00
Marc-Antoine Perennou
df8b38cb7b drop async-task dependency
We no longer directly depend on it

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-09-18 10:04:35 +02:00
Friedel Ziegelmayer
55fb871ab8
chore: release v1.6.4
Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
2020-09-17 13:20:57 +02:00
Marc-Antoine Perennou
352c54bfe6
feat: move executor to async-global-executo 2020-09-15 19:04:12 +02:00
Friedel Ziegelmayer
e9cb238f49
fix wasm and nostd builds
Co-authored-by: Jacob Rothstein <hi@jbr.me>
2020-09-14 21:31:19 +02:00
Friedel Ziegelmayer
6a6623cfad
Merge pull request #869 from jimblandy/buf-writer-doc-fix
Fix BufWriter documentation: BufWriters do not flush when dropped.
2020-09-14 14:46:43 +02:00
Friedel Ziegelmayer
a9580a9f76
Merge pull request #872 from TaKO8Ki/fix-clippy-warnings 2020-09-14 14:45:40 +02:00
Friedel Ziegelmayer
f7319591a3
Merge pull request #866 from Keruspe/smol04 2020-09-14 14:45:03 +02:00
Yoshua Wuyts
1aa148df9f
Merge pull request #874 from humancalico/patch-1
(typo) s/panicing/panicking
2020-09-09 16:52:22 +02:00
Akshat Agarwal
efaeadce88
(typo) s/panicing/panicking 2020-09-09 09:35:00 +05:30
Marc-Antoine Perennou
15798bd72b update to smol 1.0 subcrates
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-09-07 17:01:29 +02:00
Takayuki Maeda
04bb83f86e fix clippy warnings 2020-09-02 17:37:28 +09:00
Marc-Antoine Perennou
e2f638496c don't init runtime threadpool unless necessary
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-31 21:43:21 +02:00
Jim Blandy
949ff90306 Fix BufWriter documentation: BufWriters do not flush when dropped.
This was partially fixed in #586, but there's another sentence later that makes
the same claim.
2020-08-30 12:20:00 -07:00
Yoshua Wuyts
bd297473cc
Merge pull request #856 from yshui/master
Fix #855
2020-08-28 16:00:09 +02:00
Yoshua Wuyts
1319def758
Merge pull request #853 from r3v2d0g/udp-peek
Add peek{,from} methods to UdpSocket
2020-08-28 15:59:59 +02:00
Marc-Antoine Perennou
e4fb4b6128 update smol dependencies
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-27 09:23:00 +02:00
Yoshua Wuyts
26f6198065
Merge pull request #859 from Keruspe/tempfile
switch from tempdir to tempfile
2020-08-24 14:40:15 +02:00
Friedel Ziegelmayer
280f2244be
Merge pull request #858 from Keruspe/femme
update femme
2020-08-19 16:07:17 +02:00
Friedel Ziegelmayer
03ddd0a869
Merge pull request #857 from Keruspe/blocking
update blocking
2020-08-19 16:06:55 +02:00
Marc-Antoine Perennou
14d3e9865b switch from tempdir to tempfile
Uses a more recent version of rand

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-19 14:11:30 +02:00
Marc-Antoine Perennou
58c0aca6cc update femme
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-19 13:37:43 +02:00
Marc-Antoine Perennou
1898f18a5c update blocking
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-19 13:34:07 +02:00
Yuxuan Shui
b0ac73cb57
os/unix/stream: stop into_raw_fd from closing the fd
`UnixStream::into_raw_fd` calls `as_raw_fd`, which doesn't take the
ownership of the file descriptor, so the file descriptor is closed when
`self` is dropped upon returning from the function.

Because `UnixStream` uses a `Arc` to support Clone, there could be an
arbitrary number of instances around. We cannot take ownership of the
descriptor from all of the instances. Therefore we have no choice but to
duplicate the file descriptor and return that.

Fixes #855

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-08-18 11:10:29 +01:00
Yuxuan Shui
59874d639c
tests: add test case for UnixStream::into_raw_fd
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-08-18 11:10:20 +01:00
Matthieu Le brazidec (r3v2d0g)
47ce9a370c
Add peek{,from} methods to UdpSocket 2020-08-15 15:06:33 +02:00