Commit Graph

1639 Commits (c63c43341a678a42963b8e4019abc5b636a4f26c)
 

Author SHA1 Message Date
Taiki Endo e8dc2c0571 Fix double drop in StreamExt::cycle 4 years ago
Yoshua Wuyts ca84dbdd40 v1.7.0 4 years ago
Marc-Antoine Perennou 11196c853d
chore: update dependencies 4 years ago
Yoshua Wuyts cc4bb943b0
Merge pull request #895 from Keruspe/tokio03
add tokio03 feature
4 years ago
Marc-Antoine Perennou a5f72f140f add tokio03 feature
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Friedel Ziegelmayer f09fa42042
Merge pull request #890 from async-rs/1-6-5 4 years ago
dignifiedquire 0d50906a80 chore: release v1.6.5 4 years ago
Friedel Ziegelmayer c4eb910c21
Merge pull request #889 from stjepang/fix-incoming
Store a future inside Incoming
4 years ago
Stjepan Glavina f7aa962daf Store a future inside Incoming 4 years ago
Yoshua Wuyts e8126633a8
Merge pull request #882 from Keruspe/tokio-fix
fix tokio compatibility
4 years ago
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>
4 years ago
Yoshua Wuyts 4de2d12bbf
Merge pull request #879 from Keruspe/cleanup
Drop unused async-task
4 years ago
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>
4 years ago
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>
4 years ago
Friedel Ziegelmayer 55fb871ab8
chore: release v1.6.4
Co-authored-by: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
4 years ago
Marc-Antoine Perennou 352c54bfe6
feat: move executor to async-global-executo 4 years ago
Friedel Ziegelmayer e9cb238f49
fix wasm and nostd builds
Co-authored-by: Jacob Rothstein <hi@jbr.me>
4 years ago
Friedel Ziegelmayer 6a6623cfad
Merge pull request #869 from jimblandy/buf-writer-doc-fix
Fix BufWriter documentation: BufWriters do not flush when dropped.
4 years ago
Friedel Ziegelmayer a9580a9f76
Merge pull request #872 from TaKO8Ki/fix-clippy-warnings 4 years ago
Friedel Ziegelmayer f7319591a3
Merge pull request #866 from Keruspe/smol04 4 years ago
Yoshua Wuyts 1aa148df9f
Merge pull request #874 from humancalico/patch-1
(typo) s/panicing/panicking
4 years ago
Akshat Agarwal efaeadce88
(typo) s/panicing/panicking 4 years ago
Marc-Antoine Perennou 15798bd72b update to smol 1.0 subcrates
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Takayuki Maeda 04bb83f86e fix clippy warnings 4 years ago
Marc-Antoine Perennou e2f638496c don't init runtime threadpool unless necessary
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
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.
4 years ago
Yoshua Wuyts bd297473cc
Merge pull request #856 from yshui/master
Fix #855
4 years ago
Yoshua Wuyts 1319def758
Merge pull request #853 from r3v2d0g/udp-peek
Add peek{,from} methods to UdpSocket
4 years ago
Marc-Antoine Perennou e4fb4b6128 update smol dependencies
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Yoshua Wuyts 26f6198065
Merge pull request #859 from Keruspe/tempfile
switch from tempdir to tempfile
4 years ago
Friedel Ziegelmayer 280f2244be
Merge pull request #858 from Keruspe/femme
update femme
4 years ago
Friedel Ziegelmayer 03ddd0a869
Merge pull request #857 from Keruspe/blocking
update blocking
4 years ago
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>
4 years ago
Marc-Antoine Perennou 58c0aca6cc update femme
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Marc-Antoine Perennou 1898f18a5c update blocking
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
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>
4 years ago
Yuxuan Shui 59874d639c
tests: add test case for UnixStream::into_raw_fd
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
4 years ago
Matthieu Le brazidec (r3v2d0g) 47ce9a370c
Add peek{,from} methods to UdpSocket 4 years ago
dignifiedquire dbc98faf1f docs: fix changelog link 4 years ago
Friedel Ziegelmayer 9a16081a2f
Merge pull request #845 from async-rs/1-6-3 4 years ago
Friedel Ziegelmayer d04d769b9c
Merge pull request #849 from Observer42/condvar-doc-typo
Fix wrong link in condvar doc
4 years ago
Observer42 e068ab413b Fix wrong link in condvar doc 4 years ago
Yoshua Wuyts 19dcced77b
Merge pull request #846 from ryanbrainard/book-fix-accept-loop
Book: Accept Loop Variable Fixes
4 years ago
Ryan Brainard 50e7cf0e43 Pass in error to log line with placeholder 4 years ago
Ryan Brainard c5631996c9 Match on result (input) not stream (output) 4 years ago
dignifiedquire a1e83c182e chore: release 1.6.3 4 years ago
dignifiedquire 8e2a540bca deps: bump executor related deps to latest 4 years ago
Friedel Ziegelmayer f9c8974206
Merge pull request #836 from Keruspe/multitask 4 years ago
Marc-Antoine Perennou abc2929a8e switch to async-executor
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago
Marc-Antoine Perennou 0c51283bfc switch to multitask
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4 years ago