Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/tokio-rs/tokio-core

I/O primitives and event loop for async I/O in Rust
https://github.com/tokio-rs/tokio-core

ref(examples): Minor refactoring in chat example

* Move connections-clone down a bit
* Use `Ok` and `Err` as IntoFuture

315f6018229f38b34107096924e6f09a52527cac authored about 8 years ago by oberien <[email protected]>
Merge pull request #52 from tailhook/intervals

Implement `tokio_core::reactor::Interval`

62514fc40b6b20d75b0e7626e3bd1126993a47cc authored about 8 years ago by Alex Crichton <[email protected]>
Implement `tokio_core::reactor::Interval`

b1d02eb598ac2359e1aea4b69b05e5c6dfbc9453 authored about 8 years ago by Paul Colomiets <[email protected]>
rename Read to ReadOnce and expose it

The other read futures (read_exact, read_until, etc.) all expose their
concrete future types so ...

da37ad09487cc970af63f6dfc2da58ec2d289828 authored about 8 years ago by Jack O'Connor <[email protected]>
ref(chat): Make code more readable

* Send source address of message in addition to the message to connected clients.
* Move `spawn_...

b227738bd7e5347ece625e256cb2e9a90aa3cae2 authored about 8 years ago by oberien <[email protected]>
Moves `when` to `Timeout` from `TimeoutToken`

411caa786d3e1284544a9dc8100aad720c4d340e authored about 8 years ago by Paul Colomiets <[email protected]>
fix(chat): Implement alexcrichton's suggestions

* Remove unnecessary clone
* Improve rightward drift
* Remove unnecessary lazy future
* Improve ...

6961efa8dde54a429cfebc157594b25e5d25283f authored about 8 years ago by oberien <[email protected]>
Merge pull request #51 from debris/patch-1

fixed typo in split.rs

a99b2529e0ce0b4f623bc405d9e7519ac21dcc0b authored about 8 years ago by Alex Crichton <[email protected]>
fixed typo in split.rs

a94be1bca918ccda582c45c52f8bd96fae92bdd8 authored about 8 years ago by Marek Kotewicz <[email protected]>
Add Chat example

0205b855d0794d882959e9147890e53c4ca6d2fe authored about 8 years ago by oberien <[email protected]>
Merge pull request #50 from oberien/read

doc(read): Add number of bytes read to doc

e32115b1b42b7feaccf46da248946af0ec79af35 authored about 8 years ago by Alex Crichton <[email protected]>
Merge pull request #49 from oberien/read_until

doc(read_until): Fix typo in doc

37879bd91148a11dfdfa87a2825778c992d635e7 authored about 8 years ago by Alex Crichton <[email protected]>
doc(read): Add number of bytes read to doc

b0033eb463803d5b97de2e3f6d50f5682b24213b authored about 8 years ago by oberien <[email protected]>
doc(read_until): Fix typo in doc

254523730973b3938496fe1a70edbdd7b62c2aea authored about 8 years ago by oberien <[email protected]>
Merge pull request #48 from oberien/read_until

feat(io): Add `read_until`

f019f5f5bbac180dbe0f4828e70ad5c75a0e6a3e authored about 8 years ago by Alex Crichton <[email protected]>
fix(read_until): Make `read_until` resemble `BufRead::read_until`

d2440a40593ae72762d7b2f18a50ca9f9b124d96 authored about 8 years ago by oberien <[email protected]>
feat(io): Add `read_until`

ce8a9d460edb24088b88249d907588469a4d00d9 authored about 8 years ago by oberien <[email protected]>
Merge pull request #29 from 3Hren/master

Add `read` free function to read some bytes

866dad2e85646dcdfae21782d2567599f88a94f6 authored about 8 years ago by Alex Crichton <[email protected]>
chore: fix panic string

f69f748470296f9c3fce66fcebb9456466a1c540 authored about 8 years ago by Evgeny Safronov <[email protected]>
refactor: rename ReadSome to Read

Also `try_nb!` is used.

42bbe86cb62095a373c485717e6669e8ce15f1b5 authored about 8 years ago by Evgeny Safronov <[email protected]>
refactor: rename, also make EOF as a valid result

4b3472ceae4b39a760e32a70f3d73b5e7aeabc0e authored about 8 years ago by Evgeny Safronov <[email protected]>
Merge pull request #47 from oberien/spawn_fn

doc(spawn_fn): Fix typo

e92d4bf52b0246146fdc63619a01dd6cb7cd59cd authored about 8 years ago by Alex Crichton <[email protected]>
doc(spawn_fn): Fix typo

f62d1ddc8d9c90d6173ef4587712e8cb83cf44f6 authored about 8 years ago by oberien <[email protected]>
Add Handle::spawn_fn

Acts as a convenience to avoid `futures::lazy`.

Closes #40

1d40bf14f7d04ec6c1d1a8b55692f49de51a0caa authored about 8 years ago by Alex Crichton <[email protected]>
Indiciate need_read requires poll_read

Original intention was that it didn't, but nowadays it does.

Closes #44

c2e80ebb3001c95cc383e8ae354c6a00ff61a315 authored about 8 years ago by Alex Crichton <[email protected]>
Merge pull request #39 from NeoLegends/patch-1

Fix documentation typos

181dcdd9ead2e44856c7e641df2da38c40e5f059 authored about 8 years ago by Alex Crichton <[email protected]>
Fix documentation typos

326537b861b67343ac1bfc4f6bcee39b1c9ee428 authored over 8 years ago by Moritz Gunz <[email protected]>
Instead of calling handle() a second time in line 26, I used a reference to the value obtained in line 23.

f41c55f9f7b9b4b74b35e9db2516a70b05c21d2f authored over 8 years ago by xenor <[email protected]>
Add poll_{read,write} on halves

Closes #32

418a973520bbd485af60f13aef28f1c20d51b888 authored over 8 years ago by Alex Crichton <[email protected]>
Add read_some free function to read some bytes

fb497aba4497c9ae30355136946ef5b6f27eb85b authored over 8 years ago by Evgeny Safronov <[email protected]>
Merge pull request #27 from sbstp/net-docs

update the docs of net::*::bind

933b34cd25b7c32f3bd0138afd01417f4715fdc7 authored over 8 years ago by Alex Crichton <[email protected]>
update the docs of net::*::bind

32ccf255b51329a8ffc39e2eead63ee044c661ec authored over 8 years ago by Simon Bernier St-Pierre <[email protected]>
Update readme with crates.io dep

00fb7ea4a3b9e7cd05780f563099f02a37e0b75e authored over 8 years ago by Alex Crichton <[email protected]>
Depend on futures from crates.io

550dc76bbdd075ee63bf7b23d4502d03814a5e77 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #25 from sdroege/remove-udpsocket-new

Remove now unused UdpSocketNew

80d23caa5eeb5b288d5cdc0af506bdddfd61b5aa authored over 8 years ago by Alex Crichton <[email protected]>
Remove unused UdpSocketNew

b2ae5ac7c924526ad1836dd5c127ce54751627cc authored over 8 years ago by Alex Crichton <[email protected]>
Remove now unused UdpSocketNew

See https://github.com/tokio-rs/tokio-core/issues/15#issuecomment-245552463

ab5025a8b7c5b4fe55530307ebb329f7795ace82 authored over 8 years ago by Sebastian Dröge <[email protected]>
Add a simple "hello" example

8f92dc9d56d0d00d8cd7d9ea30fe69ce59cf1bf3 authored over 8 years ago by Alex Crichton <[email protected]>
Add io::FramedIo

0000210e0cf5c90dac930a7ec503dfa90aa54d36 authored over 8 years ago by Carl Lerche <[email protected]>
Don't remove timeouts that have fired

Closes #22

83784fd983bf4347284ec80077d897c22a9f7a50 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #23 from frewsxcv/docs

Add links in docs to `channel` function.

cd331dde34c800cb3aa7530cf9db55cc484c6b99 authored over 8 years ago by Alex Crichton <[email protected]>
Add links in docs to `channel` function.

eb643c4d9e4869f1e949309d9207053dd5bf6f60 authored over 8 years ago by Corey Farwell <[email protected]>
Use a timer heap instead of a timer wheel

In general it's easier to implement and should have more predictable performance
semantics for a...

1f0d2198ad1f0f7e7e378debf83e32d0fd5e90bb authored over 8 years ago by Alex Crichton <[email protected]>
Swap Handle/Pinned

* Handle -> Remote
* Pinned -> Handle

All APIs now take a `&Handle` by default and in general c...

66cff8e84b0bdbdc716fe1cd715363aa7e79aefa authored over 8 years ago by Alex Crichton <[email protected]>
Reorganize the entire crate:

Renamed APIs

* Loop => reactor::Core
* LoopHandle => reactor::Handle
* LoopPin => reactor::Pinn...

6c045d31ac78df7b6b190935c2024c90b420da28 authored over 8 years ago by Alex Crichton <[email protected]>
Tweak TaskIo wording and such

* Remove TaskIo
* task_split -> split
* TaskIoRead -> ReadHalf
* TaskIoWrite -> WriteHalf

Close...

e60002b653594c0a024733d1db0ce8d680e4f808 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #21 from frewsxcv/clippy

Address a few clippy suggestions.

93c61bb384b8097a4897661eb877fc6a8440a02a authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #20 from frewsxcv/docs

Add documentation links.

0eeeca4ac12de0e9859a0533c482d3aa3ca4d51c authored over 8 years ago by Alex Crichton <[email protected]>
Remove unnecessary `return` statements.

9fe1d8aecaebfae07b503f908a84dced84ddfba8 authored over 8 years ago by Corey Farwell <[email protected]>
Avoid unnecessary `Option::expect` indirection.

a9d24810bebdedee12f4f928fb8a55003d7ad8ad authored over 8 years ago by Corey Farwell <[email protected]>
Use `while..let` construct for loop.

93e1d4778dd50f04440d7fd6f06e6a60fac0a3dc authored over 8 years ago by Corey Farwell <[email protected]>
Add documentation links.

d7f76ca5495d2d1ab364b7a5b8e4cd2f069e3457 authored over 8 years ago by Corey Farwell <[email protected]>
Merge pull request #19 from kamalmarhubi/read-exact-doc

docs: Fix copypasta in read_exact docs

815dc803dbcc350229af1928a4212d87fadaed62 authored over 8 years ago by Alex Crichton <[email protected]>
docs: Fix copypasta in read_exact docs

abf452130082544ce32e37d06ca6102c1deb3a32 authored over 8 years ago by Kamal Marhubi <[email protected]>
Merge pull request #14 from reem/patch-1

Fix the link for the echo server example in the README

03ac1ea460c425d1f652afc0e917d746015cc202 authored over 8 years ago by Alex Crichton <[email protected]>
Fix the link for the echo server example.

242f8fa1b262021dd76ba217b0372470fdcef47f authored over 8 years ago by Jonathan Reem <[email protected]>
Update with Poll/Async changes

3794cf7f1db616ecf27b6841a0d32facc3dd4bea authored over 8 years ago by Alex Crichton <[email protected]>
Update to mio 0.6

3282b3ec0d0da1237c11e59ea0ac46407dd3edd5 authored over 8 years ago by Alex Crichton <[email protected]>
Track Slab changes

2081bcc4308c767ec66c0b55c3edb949718c331f authored over 8 years ago by Carl Lerche <[email protected]>
Be sure to call poll before doing I/O

Ensures that we can properly clear the readiness bits and manage them correctly.

Closes #10

6947933b6b90c97a8255e275b31647219f9a9524 authored over 8 years ago by Alex Crichton <[email protected]>
Move binaries to examples

02538d035f8dc65609e75c60188fa31d4c7d23f5 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #8 from nbigaouette/patch-1

Fix typo in Loop::run() documentation

6c6fb917eee295f779bb3afb050f1217f7172ee2 authored over 8 years ago by Alex Crichton <[email protected]>
Fix typo in Loop::run() documentation

Simple typo fixed (`becuase` -> `because`)

376974c34972ac6a51f5a27257a39074a61977bf authored over 8 years ago by Nicolas Bigaouette <[email protected]>
Update to futures master

* Remove `LoopData` as it's no longer necessary
* Add `LoopHandle::spawn` to spawn new futures o...

330ab823b0dfe45c0f4219e1601ecbbdd5ae457b authored over 8 years ago by Alex Crichton <[email protected]>
Track mio master

440a813c5ac23b07528dd710a9301f5e5c64126d authored over 8 years ago by Carl Lerche <[email protected]>
Merge pull request #4 from sinkuu/fix_dropbox

Fix DropBox's drop

7a852a7f4957ff4389f0a661d70d34f3a67a073b authored over 8 years ago by Alex Crichton <[email protected]>
Fix DropBox's drop

909f3e923cad7f1647f1eac076b01951a237047c authored over 8 years ago by sinkuu <[email protected]>
Update to mio master

c820d67d662a0bcecb2b71d63014069d17b6e362 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #1 from sbstp/typo

Fix typo in panic message

b9395808bea624e6b64bcafbf6cc05cabdaca6cc authored over 8 years ago by Alex Crichton <[email protected]>
fix typo in panic message

32557cd8329e1e5ca2f2d059e39f496aab811558 authored over 8 years ago by Simon Bernier St-Pierre <[email protected]>
Update appveyor link

3715e624719f6e5ba80452b7afb0ac17c9df1089 authored over 8 years ago by Alex Crichton <[email protected]>
Add license files

235812a4da29e6132aad5aa69b891ad0cf0621b2 authored over 8 years ago by Alex Crichton <[email protected]>
Update appveyor status

37a53a1085c6d526f44e3cae1dd47295e437f3f8 authored over 8 years ago by Alex Crichton <[email protected]>
Add appveyor config

347669ed2bf4d022685263c242dc6a43710b2f2f authored over 8 years ago by Alex Crichton <[email protected]>
Update travis token

d6e89985829337bc939ba92cd7b25adf01a550fd authored over 8 years ago by Alex Crichton <[email protected]>
Rename to tokio-core, add in futures-io

Renames the futures-mio crate to tokio-core, pulls in the futures-io crate under
an `io` module,...

f107c8d860137b41e509b179d605db30082cb0da authored over 8 years ago by Alex Crichton <[email protected]>
Add a `&LoopPin` to `add_loop_data` closures

This way they can use that proof that they're running on the event loop

e71d509fee767d6b796ba18a5501f80f0fb4babc authored over 8 years ago by Alex Crichton <[email protected]>
Implement Stream for Receiver

That's... what it is!

d1cd455225a33a1a0d8253d064d2cc173dadc400 authored over 8 years ago by Alex Crichton <[email protected]>
Merge pull request #87 from alexcrichton/less-arc

Don't store an Arc in ReadinessStream

cff73b7a9d33f000c07501094041580d8ab59f24 authored over 8 years ago by Aaron Turon <[email protected]>
Update futures-mio tests

9c309af59776c06c853f2bddf318746eb6618aeb authored over 8 years ago by Jean Pierre Dudey <[email protected]>
Add a channel to the futures-mio crate

df9730fcbebc42e42a92592a71a6959de0f2dde3 authored over 8 years ago by Alex Crichton <[email protected]>
Reorganize the `event_loop` module

Split it up into a number of targeted modules for each purpose, for example loop
data, I/O sourc...

2bd616df519ef1442a5a7ed1033aa76eeecb71a0 authored over 8 years ago by Alex Crichton <[email protected]>
Don't store an Arc in ReadinessStream

This commit contains a few refactorings, but the major goal is to remove the
`Arc` that's stored...

b9dae23e3f943d9125a5add8513b551867b1131c authored over 8 years ago by Alex Crichton <[email protected]>
Revert to using futures::lazy(), which is in fact needed.

5ab323e5c2cb76c49a3ec8b6d5857b03ebdf28be authored over 8 years ago by David Renshaw <[email protected]>
update comment and simplify echo example

a9b53d61d2520715b3867d6c5b11e9f8006265fa authored over 8 years ago by David Renshaw <[email protected]>
Update docs of futures-mio

0a707ffccb940bdd5e0d4b4036319bdd60485afb authored over 8 years ago by Alex Crichton <[email protected]>
Rewrite recursion with a loop in sink.rs

12a05b9568f1579e8855be11a6d1f4060af7c8b5 authored over 8 years ago by Alex Crichton <[email protected]>
Relax the 'static bound on Loop::run

We know that the future will never persist beyond this stack frame, so we can
just leave its own...

32eb457dadbbaef2230b53276550a1843ef26f2a authored over 8 years ago by Alex Crichton <[email protected]>
Remove lots of 'static bounds

The core trait and associated types no longer require the `'static` bounds, and
all associated m...

9672f900913ca8fc15e2b5311564532054b022be authored over 8 years ago by Alex Crichton <[email protected]>
Update futures-minihttp

311bfa07a362657c57037b44404a6e42cf560438 authored over 8 years ago by Alex Crichton <[email protected]>
Re-work I/O

* Auto-register interest whenever we see WouldBlock
* Remove implementations of `Stream<Item=Rea...

d0b911189c9a879fd3861b7fc84d4f03723208de authored over 8 years ago by Alex Crichton <[email protected]>
Remove Future::schedule

A more appealing model is actually just automatically inferring what needs to be
scheduled based...

293d1041770384c9eeb34ac7d97214feaf3b88c3 authored over 8 years ago by Alex Crichton <[email protected]>
Update futures-curl

Also involved yet another round of bug fixes to the timer wheel as well as an
unfortunately seri...

8025d85019907e72ff3774db7f780e476e825e57 authored over 8 years ago by Alex Crichton <[email protected]>
Keep polling in Buffered if there's more futures

We're not NotReady until we hit the final future and it's not done.

62f306629d6f295e37b2a92db6b9219116a5edd3 authored over 8 years ago by Alex Crichton <[email protected]>
Implement UDS bindings

Closes #61

217af868e1ecc6212e1f403bb29489fd219a0a61 authored over 8 years ago by Alex Crichton <[email protected]>
Optimize next_timeout slightly

Avoid moves as it apparently adversely affects perf

8327d327c10738517a8ff6c6aa986baa70305ae4 authored over 8 years ago by Alex Crichton <[email protected]>
Add a method to get a handle from a pin

It's store there anyway!

3158a2c73be4c8145185df4b06578fed3875fe61 authored over 8 years ago by Alex Crichton <[email protected]>
Remove Send from Future/Stream

This bound existed for two primary reasons, both detail below, and both of which
have now been s...

b508964db63b526ccd88805195a50b5a66da8438 authored over 8 years ago by Alex Crichton <[email protected]>
Add LoopPin to easily create LoopData

9911f421eba909012cb1856d4d983fc68d34569c authored over 8 years ago by Alex Crichton <[email protected]>
Remove the Any bound from LoopData

No need for this, all we need is 'static now

ef3efd41750df9bb4c139a4d0739f42a56168a4f authored over 8 years ago by Alex Crichton <[email protected]>