Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/tokio-rs/tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
https://github.com/tokio-rs/tokio
7da5603a42face94423b91e5995d6a5cbdd806be authored almost 7 years ago by Jake Goulding <[email protected]>
264fef60e3640d8c97fdaf0b67ec0c0da32fdf71 authored almost 7 years ago by Carl Lerche <[email protected]>
This patch updates `poll_read_ready` to take a `mask` argument, enabling
the caller to specify ...
Currently, if a thread pool instance is dropped without being shutdown,
the workers will run in...
Mio will be requiring `deregister` to be called explicitly in order to
guarantee that Poll rele...
Some of the benchhmarks were broken and/or using deprecated APIs. This
patch updates the benche...
The PR that updated the examples skipped some comments. This patch
updates thhe comments.
ae20270d0010f3f990546bdf2ee284185b85fdbd authored almost 7 years ago by Colin Rofls <[email protected]>
The exampes included in the repository have lagged behind the changes
made. Specifically, they ...
- UdpSocket -> src/net/udp/socket.rs
- SendDgram -> src/net/udp/send_dgram.rs
- RecvDgram -> s...
aa4b1b431115a858fff3e8c2b7c67b2e0e9f603b authored almost 7 years ago by Jeehoon Kang <[email protected]>
- Incoming -> src/net/tcp/incoming.rs
- TcpListener -> src/net/tcp/listener.rs
- TcpStream, Co...
071d8704ceba6def2cc400f04c4437df9db8e977 authored almost 7 years ago by Philip Munksgaard <[email protected]>
Tokio is moving away from using `WouldBlock`, instead favoring
`Async::NotReady`.
This patch...
9f7a98af3c4cbeb89b162c1faa4480553a3dc82e authored almost 7 years ago by Carl Lerche <[email protected]>
Currently, `tokio::spawn` matched the `spawn` function from futures 0.2.
However, this adds add...
This removes the need for the `try_nb` macro as well as bring the traits
closer in line with th...
This allows libraries that require access to reactor related types to
depend on this crate with...
df6e24255b581ecdeeb555b630be88aef82c4b1f authored almost 7 years ago by Carl Lerche <[email protected]>
This patch updates the documentation for a number of APIs. It also
introduces a prelude module ...
164ee8f10675781fa48cf75b695613781edcd26d authored almost 7 years ago by Carl Lerche <[email protected]>
7238cfa5e25e7302485016f18ab525317804803c authored almost 7 years ago by Carl Lerche <[email protected]>
Sometimes, passing ownership to an executor is necessary. For example,
some libraries require t...
This patch makes a significant change to how I/O resources bind to a
reactor. Currently, an I/O...
* Create variables as closer as possible to their usage
* Check that no message is lost in test...
Currently, the thread-local tracking the current thread executor is not
set when a task is drop...
427b7325d0c45a5371808900d039970387eb2796 authored almost 7 years ago by Roman <[email protected]>
The logic that enables `CurrentThread::turn` to avoid unbounded
iteration was incorrect. It was...
Try using an env var to enforce the doc deploy condition.
df3a92532be88c19017150f55e6d9228f9c28d04 authored almost 7 years ago by Carl Lerche <[email protected]>23f451e8b11ac0ae784087172f6a96f6c2d6b6e7 authored almost 7 years ago by Carl Lerche <[email protected]>
This method is useful when reading from a operating system service.
40cbd0f296556f91e3c4c3d429dffc34e1b3f3e7 authored almost 7 years ago by Ben Boeckel <[email protected]>
FreeBSD uses a separate kqueue filter type for lio_listio. This change
adds support for that f...
CurrentThread::turn uses a turn count strategy to allow `turn` to not
run infinitely. Currently...
This patch is an intial implementation of the Tokio runtime. The Tokio
runtime provides an out ...
e0d95aa037c354240ea495542b7afe29ad30e337 authored almost 7 years ago by Carl Lerche <[email protected]>
dc225faf2497b1fc350d01b4722f5aead56269bb authored almost 7 years ago by cetra3 <[email protected]>
8605d5d24325a85938991686960387c9d8a75317 authored almost 7 years ago by Roman <[email protected]>
Fixes #121
4704f612776159ca99618099ffcdb06dc7b9bbfa authored almost 7 years ago by Carl Lerche <[email protected]>
* move src/io.rs -> src/io/mod.rs
* move src/read.rs -> src/io/read.rs
* move src/read_exact.r...
* move src/codec.rs -> src/codec/mod.rs
* Move traits Encoder and Decoder from src/framed_{read...
0b58bded7c0c04f07dd5418fdbaa0976369985ba authored almost 7 years ago by Carl Lerche <[email protected]>
This function could not be called from a public setting in the first
place due to the argument ...
Fixes #123
a9da59882c3781a8fdc8adefdf25b143aad1f372 authored almost 7 years ago by Carl Lerche <[email protected]>
Tokio depends on the latest Mio point release, so update Cargo.toml to
reflect this.
23bc9d20d315d904918817b05bc043dca68b3da3 authored almost 7 years ago by Carl Lerche <[email protected]>
The `Handle` type is intended to be used by end users of Tokio. The
wakeup functionlity is need...
Instead, use `UdpFramed::new` to create a framed wrapper around the UDP
socket.
`UdpFramed` is updated to use the `Encoder` and
`Decoder` traits from `tokio-io`.
73b763f69fe517fdbbb0360bd9c0a50db8f8f62c authored almost 7 years ago by cssivision <[email protected]>
Doing so requires copying the `current_thread` executor from GitHub into
the repo.
567887cc75170437f75f19f5966f2b32bf49ab72 authored almost 7 years ago by Carl Lerche <[email protected]>
3840ceafeeb43e9489ae7df2b0b1f54c9dd1d401 authored almost 7 years ago by Roman <[email protected]>
a5e9c311bf324d214e362d0c009ee3bcc87b99ca authored almost 7 years ago by Carl Lerche <[email protected]>
This patch also updates tests and examples to remove deprecated API
usage.
The crates remain separate, but are now developed in the same git
repository using cargo worksp...
* Limit the max number of registered resources
This allows some token space to be used intern...
a87936080bab26aaf53b3e31d2ff1ca2f740b325 authored almost 7 years ago by Carl Lerche <[email protected]>
Generally speaking, it is unsafe to access to perform asynchronous
operations using `&self`. Ta...
The caller should be required to have control of a reactor when setting
it as a fallback. A `Ha...
a998367002ddd539e70d73f868546968699d4cd1 authored almost 7 years ago by Carl Lerche <[email protected]>
These fns are not included on std's UdpSocket.
c1c06f8ac131152c7ac8e6d6008d59dda964fe92 authored almost 7 years ago by Carl Lerche <[email protected]>
std's `Incoming` iterator yields `TcpStream` instances. This patch
updates the `Incoming` futur...
f4ec9a6360c5e2d3066dc5b278f116c8febe701c authored almost 7 years ago by Carl Lerche <[email protected]>
* Update send_dgram function signature.
All other fns take `&SocketAddr`.
* Fix tests
0f4706d752ebf42700543cf85dd89e843fd7a15b authored almost 7 years ago by Carl Lerche <[email protected]>This has been deprecated in mio.
117dcba8cbff8fc5b688865360eb2c04277b09eb authored almost 7 years ago by Carl Lerche <[email protected]>fd37fb0f17ab0f3761f956efccaa386263cc6e9c authored almost 7 years ago by Carl Lerche <[email protected]>
a41c0800f9ea74d4fe20476c61e87732c6ac334d authored almost 7 years ago by Carl Lerche <[email protected]>
e140dabed2d92c09707f1fa8d456febd9c6500be authored almost 7 years ago by Sean McArthur <[email protected]>
fbdf04f6049ad718493ae851284fda66cad35ce7 authored almost 7 years ago by Alex Crichton <[email protected]>
a3c4aec127ce0532b0a72ba5ee2eb3096c04f56a authored almost 7 years ago by Alex Crichton <[email protected]>
I've often found this to be quite useful when debugging why event loops are
stuck or some other...
This was added oh-so-long ago and nowadays is just used by one consumer,
`PollEvented`. Let's j...
* Refactor UDP SendDgram & RecvDgram
Get rid of unnamed structs in the favor of priva...
025f52aadcc8b35d47701241f675623c7f1d42ff authored almost 7 years ago by Roman <[email protected]>And allow the others to pass.
b081e9593f7d758bc055e29c445b2fd70252f260 authored almost 7 years ago by Michal 'vorner' Vaner <[email protected]>99fc38e0d652ba8d9a3437e70e4729c86edffc01 authored almost 7 years ago by Alex Crichton <[email protected]>
ce014943eca3b63c249c8b745dc70defbe30ee34 authored almost 7 years ago by Sean McArthur <[email protected]>
Eventually mio won't provide an indexable interface, so switch over to using the
iterator-based...
Closes #64
555c97b3137ed9b38d19ee780aec6f5b1ef6ea79 authored almost 7 years ago by Alex Crichton <[email protected]>b395ccb6d955a8d4f56e7cc3bfdc0bfb28742f2c authored almost 7 years ago by Bastien Orivel <[email protected]>
943cd860cb51dff519ba9cb0b115a2c8c4ba4f87 authored almost 7 years ago by Sean Stangl <[email protected]>
cde387d7e728f227db41a0d73e1a9ed9a9e2a2d0 authored about 7 years ago by Alex Crichton <[email protected]>
* Change a return value of reactor::poll to io::Result.
* Revert "Change a return value of re...
9303076a6b2a2c92aac7cbaf1057cc505ca523fe authored about 7 years ago by dethoter <[email protected]>
This is mostly just future-proofing, the type doesn't actually do anything right
now.
This commit removes the `Handle` argument from the following constructors
* `TcpListener::bin...
4ef772b2db9fdf19625e428f1031409994b4c8e6 authored about 7 years ago by Alex Crichton <[email protected]>
This method is intended to be used to wake up the reactor from a remote thread
if necessary, fo...
This commit removes the `Reactor::run` method which has previously been used to
execute futures...
This commit starts to add support for a global event loop by adding a
`Handle::default` method a...
c45bbaa04ee2a9524976374c204b9568f991dceb authored about 7 years ago by Carl Lerche <[email protected]>
963eee3bc7615accd7d8b97ad1ea24d697d36d36 authored about 7 years ago by Steven Fackler <[email protected]>
23a0e990d2c06520a7461b0a4790b8abe3183129 authored about 7 years ago by Thomas de Zeeuw <[email protected]>
402cd3034da33442e6b0c2d41cf333127043850a authored about 7 years ago by Thomas de Zeeuw <[email protected]>
* Derive Debug on all public structs
* Enable a warning about missing debug implementations o...
cf793d40534aeb0815c37b47e241d4f924cdd3c7 authored about 7 years ago by Thomas de Zeeuw <[email protected]>This commit uses a script to rename `Core` to `Reactor` all at once, notably:
find . -name ...
108e1a2c1a66a6f0123704e42624b51e9536476f authored about 7 years ago by Alex Crichton <[email protected]>This commit changes the `PollEvented::deregister` signature from
fn deregister(self, handle...
46062794aaedf1d2f8385124fa5b7061317a2527 authored about 7 years ago by Alex Crichton <[email protected]>
This should allow configuration over what reactor accepted streams go on to by
giving back a lib...
This commit is targeted at solving tokio-rs/tokio-core#12 and incorporates the
solution from tok...
This commit renames the various constructors of networking types to have a
`_std` suffix instead...
This is no longer needed now that the public-facing `CoreId` has been removed
259996d8051b1fcdf04042e253c870f206a1926f authored about 7 years ago by Alex Crichton <[email protected]>
No need for oneshot shenanigans as now we'll always have the `Handle` available
to us regardless...
The `Handle` type is now `Send` and `Sync` so the `Remote` type no longer needs
to exist.
* small doc cleanups in PollEvented
* small doc cleanups in IoToken
* improve crate level ...
c801584d2426f3475e112de0618f645fa43d7f47 authored about 7 years ago by Thomas de Zeeuw <[email protected]>* remove unused #[macro_use] and #[allow(unused_macros)]
* remove unused FnBox trait
* rem...
0b54557796cee1c1d3a55ca29be982d24e5b3f3b authored about 7 years ago by Thomas de Zeeuw <[email protected]>