2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00
Commit graph

1474 commits

Author SHA1 Message Date
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
dignifiedquire
dbc98faf1f docs: fix changelog link 2020-08-13 15:06:26 +02:00
Friedel Ziegelmayer
9a16081a2f
Merge pull request #845 from async-rs/1-6-3 2020-08-13 15:02:01 +02:00
Friedel Ziegelmayer
d04d769b9c
Merge pull request #849 from Observer42/condvar-doc-typo
Fix wrong link in condvar doc
2020-08-11 10:36:34 +02:00
Observer42
e068ab413b Fix wrong link in condvar doc 2020-08-11 12:03:42 +08:00
Yoshua Wuyts
19dcced77b
Merge pull request #846 from ryanbrainard/book-fix-accept-loop
Book: Accept Loop Variable Fixes
2020-08-03 13:38:20 +02:00
Ryan Brainard
50e7cf0e43 Pass in error to log line with placeholder 2020-08-02 17:49:56 +09:00
Ryan Brainard
c5631996c9 Match on result (input) not stream (output) 2020-08-02 17:49:19 +09:00
dignifiedquire
a1e83c182e chore: release 1.6.3 2020-07-31 17:09:23 +02:00
dignifiedquire
8e2a540bca deps: bump executor related deps to latest 2020-07-31 17:05:41 +02:00
Friedel Ziegelmayer
f9c8974206
Merge pull request #836 from Keruspe/multitask 2020-07-26 20:22:52 +02:00
Marc-Antoine Perennou
abc2929a8e switch to async-executor
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:02:10 +02:00
Marc-Antoine Perennou
0c51283bfc switch to multitask
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:02:10 +02:00
Marc-Antoine Perennou
48693fccc3 switch to futures-lite
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:02:10 +02:00
Marc-Antoine Perennou
2fe087bd0a switch to blocking
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:02:10 +02:00
Marc-Antoine Perennou
25e0e1abdc switch to async-io
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:02:10 +02:00
Marc-Antoine Perennou
8886039ac5 fix build with -default +unstable
and add a CI check for it

Fixes #842

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-24 23:01:51 +02:00
Yoshua Wuyts
820acc1238
Merge pull request #840 from Keruspe/ppc64
ci: disable ppc64 cross build for now
2020-07-20 11:20:46 +02:00
Marc-Antoine Perennou
4ce1d61cb3 ci: disable ppc64 cross build for now
It's broken, see #839

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-07-20 09:26:25 +02:00
Yoshua Wuyts
8aa5921dfa
Merge pull request #833 from OSSystems/topic/fix_channel_doc
channel doc: Fix misleading reference to None return on Receiver
2020-07-14 10:40:40 +02:00
Jonathas-Conceicao
cd7fb9dec2 channel doc: Fix misleading reference to None return on Receiver
Signed-off-by: Jonathas-Conceicao <jonathas.conceicao@ossystems.com.br>
2020-07-13 10:52:44 -03:00
Yoshua Wuyts
c82b1efb69
fix(stream): add send guards on collect
Closes #639 

Co-authored-by: dignifiedquire <me@dignifiedquire.com>
2020-06-27 16:46:14 +02:00
Friedel Ziegelmayer
8c4b425136
Merge pull request #826 from thibault-martinez/kv-log-macro-1.0.6
Update kv-log-macro to 1.0.6
2020-06-27 15:25:26 +02:00
Thibault Martinez
2ab08ebbbc Update kv-log-macro to 1.0.6 2020-06-27 14:23:54 +02:00
Friedel Ziegelmayer
0e7650a421
Merge pull request #822 from async-rs/async-extern-1 2020-06-26 16:43:49 +02:00
dignifiedquire
8f17e9275b test: try to stabilize CI 2020-06-26 12:48:23 +02:00
dignifiedquire
18dffe8b43 refactor: switch to async-mutex for Mutex implementation 2020-06-26 10:30:58 +02:00
Friedel Ziegelmayer
43de93312c
Merge pull request #825 from nbdd0121/master
Fix unused_mut warning in nightly
2020-06-25 19:02:28 +02:00