Commit Graph

140 Commits

Author SHA1 Message Date
Stjepan Glavina 0ab680ea43 Bump to v1.3.1 2020-11-30 19:04:07 +01:00
Tyler Neely 67275c2212
Lower MSRV by using std::u64::MAX intsead of u64::MAX (#43) 2020-11-30 19:02:57 +01:00
Stjepan Glavina bb52124f20
. 2020-11-30 12:31:04 +01:00
Stjepan Glavina 3d03632fac Bump to v1.3.0 2020-11-28 21:45:04 +01:00
Stjepan Glavina 68f7a10271 Add set_interval and set_interval_at 2020-11-28 21:16:10 +01:00
David Craven 75316e2982
Add interval api. (#41)
* Add interval api.

* Fix workflows.

* Address review comments.

* Don't tick immediately.

* Increase allowed jitter for ci.
2020-11-28 20:54:01 +01:00
Stjepan Glavina 1f860a9525 Bump to v1.2.0 2020-11-09 15:43:31 +01:00
Stjepan Glavina af26f326bf
poll_readable() and poll_writable() (#38) 2020-11-09 15:41:51 +01:00
Stjepan Glavina 2d35be1ad6 Bump to v1.1.10 2020-10-09 14:33:41 +02:00
Stjepan Glavina 79c2d904fe Update futures-lite 2020-10-09 14:33:16 +02:00
Stjepan Glavina 5bde1c3d69 Bump to v1.1.9 2020-10-04 14:16:37 +02:00
JayceFayne 000f2fb0f5
remove `libc` dependency on windows (#33) 2020-10-04 00:21:03 +02:00
JayceFayne 5bb703a99c
fix changelog (#34) 2020-10-04 00:19:38 +02:00
Stjepan Glavina 7056f57ff3 Bump to v1.1.8 2020-10-03 17:06:27 +02:00
Stjepan Glavina 5928766e39 Fix CI 2020-10-03 16:38:22 +02:00
Stjepan Glavina da0f0619fd Bump to v1.1.7 2020-10-03 16:37:31 +02:00
Stjepan Glavina 906de8e99a Update async-io 2020-10-03 16:37:09 +02:00
Stjepan Glavina 9b6ba0ee6a Bump to v1.1.6 2020-10-01 21:00:52 +02:00
Stjepan Glavina 4e7cdb6a48 Remove random yielding 2020-10-01 21:00:17 +02:00
Stjepan Glavina c7e7fa89ed Bump to v1.1.5 2020-09-29 18:59:06 +02:00
Stjepan Glavina b0b4cff723 Restrict yielding to reads 2020-09-29 18:42:57 +02:00
Stjepan Glavina 37807026a3 Bump to v1.1.4 2020-09-28 00:42:55 +02:00
Stjepan Glavina e50ce4302e Fix a bug 2020-09-27 23:42:14 +02:00
Stjepan Glavina ba08b6a3ab Cleanup 2020-09-27 23:39:25 +02:00
Stjepan Glavina ae47f9f5d0 Remove Cell 2020-09-27 23:24:23 +02:00
Stjepan Glavina 3cc2c42669 Cleanup 2020-09-27 23:15:26 +02:00
Stjepan Glavina aae2473a80 Unregister wakers if readable() or writable() is canceled 2020-09-27 23:05:10 +02:00
Stjepan Glavina 13084b77ee Refactor 2020-09-27 22:35:20 +02:00
Stjepan Glavina 86b340b50f Cleanup 2020-09-27 22:15:45 +02:00
Stjepan Glavina 06d015e9b2 Cleanup 2020-09-27 21:55:12 +02:00
Stjepan Glavina 671f0353c4 Special waker for AsyncRead/AsyncWrite 2020-09-27 21:20:28 +02:00
Stjepan Glavina e49452d7f0 Fix CI 2020-09-23 12:13:02 +02:00
Stjepan Glavina 9ab632d776 Bump to v1.1.3 2020-09-23 00:05:52 +02:00
Stjepan Glavina ac578a4e7e Forbid unsafe code 2020-09-22 23:37:27 +02:00
Stjepan Glavina 6209dc82ee More docs 2020-09-22 23:36:43 +02:00
Stjepan Glavina 4f73cf756a Bump to v1.1.2 2020-09-16 11:49:57 +02:00
JayceFayne 494af542bf
remove direct wepoll dependency (#29)
Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
2020-09-16 11:33:54 +02:00
Stjepan Glavina 784104543b Use nb-connect 2020-09-16 11:27:15 +02:00
Stjepan Glavina 98ff0bb70b Bump to v1.1.1 2020-09-16 00:33:01 +02:00
JayceFayne 6768837003
remove socket2 (#28) 2020-09-16 00:25:13 +02:00
Stjepan Glavina 09b03d2d3c Update dependencies 2020-09-14 20:10:09 +02:00
Stjepan Glavina 8acd64b8bb Add windows gnu to CI 2020-09-14 18:27:57 +02:00
Stjepan Glavina a20cff187b Bump to v1.1.0 2020-09-14 17:56:40 +02:00
Stjepan Glavina 74b65b1180 Add TryFrom impls 2020-09-14 17:48:45 +02:00
Stjepan Glavina f6aa1c66e4 Remove TryFrom impl 2020-09-14 16:11:47 +02:00
Stjepan Glavina 061a96ef8d Add TryFrom for Async 2020-09-14 16:07:06 +02:00
Stjepan Glavina 82c7e59107 Remove let _ pattern 2020-09-13 13:41:08 +02:00
Stjepan Glavina 5e135a8a7b Bump to v1.0.2 2020-09-09 20:27:39 +02:00
Sergey Bugaev ff2ca89cd4
Less boxing (#26)
* Get rid of boxing inside Async<>

We want Async<T> to always impl Unpin. Turns out, boxing the inner value
is unnecessary for this; and as we never pin the inner value, we can just
implement Unpin for ourselves explicitly.

See https://doc.rust-lang.org/std/pin/index.html#pinning-is-not-structural-for-field
on why this is safe and sound :)

* Do not box streams

Unfortunately, this means we also don't automatically pin them.
The caller can manually pin them (using the pin! macro, or Box::pin(),
or any other method) if needed. That is a slight API break.
2020-09-09 20:25:25 +02:00
Stjepan Glavina 6af144e5d1 Docs 2020-09-07 22:09:16 +02:00