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

Remove premature French translation of "current" (#197)

7da5603a42face94423b91e5995d6a5cbdd806be authored almost 7 years ago by Jake Goulding <[email protected]>
Update readme (#196)

264fef60e3640d8c97fdaf0b67ec0c0da32fdf71 authored almost 7 years ago by Carl Lerche <[email protected]>
Improve `poll_read_ready` implementation (#193)

This patch updates `poll_read_ready` to take a `mask` argument, enabling
the caller to specify ...

25dd54d263356a77406036411ec29442305418e2 authored almost 7 years ago by Carl Lerche <[email protected]>
Shutdown the thread pool on drop. (#190)

Currently, if a thread pool instance is dropped without being shutdown,
the workers will run in...

5555cbc85e48a110f7d7d60ba6af9ec31eb17142 authored almost 7 years ago by Carl Lerche <[email protected]>
Explicitly deregister I/O resources on drop (#189)

Mio will be requiring `deregister` to be called explicitly in order to
guarantee that Poll rele...

c769b915b7b565cd6cbb7dd7468e8830934a0f7c authored almost 7 years ago by Carl Lerche <[email protected]>
Fix benches (#188)

Some of the benchhmarks were broken and/or using deprecated APIs. This
patch updates the benche...

1f91a890b4ff6f3707970d1c15350469f72c1a68 authored almost 7 years ago by Carl Lerche <[email protected]>
Fix some comments in the examples. (#187)

The PR that updated the examples skipped some comments. This patch
updates thhe comments.

869615f1d220e522af025d52be0b846570fed63d authored almost 7 years ago by Carl Lerche <[email protected]>
Fixup docs for AllowStdIo (#184)

ae20270d0010f3f990546bdf2ee284185b85fdbd authored almost 7 years ago by Colin Rofls <[email protected]>
Update examples to track latest Tokio changes (#180)

The exampes included in the repository have lagged behind the changes
made. Specifically, they ...

f1cb12e14fb047f3f86c852c253962c60ce471e8 authored almost 7 years ago by Carl Lerche <[email protected]>
Split net::udp code into files: (#183)

- UdpSocket -> src/net/udp/socket.rs
- SendDgram -> src/net/udp/send_dgram.rs
- RecvDgram -> s...

56c579787260abcb9786aa22cfca1ee4b7c3b5ba authored almost 7 years ago by Roman <[email protected]>
Replace coco with crossbeam (#185)

aa4b1b431115a858fff3e8c2b7c67b2e0e9f603b authored almost 7 years ago by Jeehoon Kang <[email protected]>
Split net::tcp code into files: (#177)

- Incoming -> src/net/tcp/incoming.rs
- TcpListener -> src/net/tcp/listener.rs
- TcpStream, Co...

687871d3e59385eb777c5c5567c377779f7ddd70 authored almost 7 years ago by Roman <[email protected]>
Fix typos (#176)

071d8704ceba6def2cc400f04c4437df9db8e977 authored almost 7 years ago by Philip Munksgaard <[email protected]>
Switch TCP/UDP fns to poll_ -> Poll<...> style (#175)

Tokio is moving away from using `WouldBlock`, instead favoring
`Async::NotReady`.

This patch...

9f7a98af3c4cbeb89b162c1faa4480553a3dc82e authored almost 7 years ago by Carl Lerche <[email protected]>
Tweak the `tokio::spawn` function (#171)

Currently, `tokio::spawn` matched the `spawn` function from futures 0.2.
However, this adds add...

7db77194194851fcc7cad4d68f0481941fb8a285 authored almost 7 years ago by Carl Lerche <[email protected]>
Add AsyncRead::poll_read, AsyncWrite::poll_write. (#170)

This removes the need for the `try_nb` macro as well as bring the traits
closer in line with th...

21c0f3a9d814e37222a70b18c55921a2395804ee authored almost 7 years ago by Carl Lerche <[email protected]>
Extract the reactor to a dedicated crate. (#169)

This allows libraries that require access to reactor related types to
depend on this crate with...

e1b30851537bccef87c37bd306a2661418083bc1 authored almost 7 years ago by Carl Lerche <[email protected]>
Fix deprecation warnings in tests (#167)

df6e24255b581ecdeeb555b630be88aef82c4b1f authored almost 7 years ago by Carl Lerche <[email protected]>
Add `io` facade and update `reactor` docs (#166)

This patch updates the documentation for a number of APIs. It also
introduces a prelude module ...

df19119c0a702508ab14d96145680a54e8bc3ea4 authored almost 7 years ago by Carl Lerche <[email protected]>
Update the README (#164)

164ee8f10675781fa48cf75b695613781edcd26d authored almost 7 years ago by Carl Lerche <[email protected]>
Update AppVeyor badge URL (#163)

7238cfa5e25e7302485016f18ab525317804803c authored almost 7 years ago by Carl Lerche <[email protected]>
Provide a handle to Runtime's executor. (#162)

Sometimes, passing ownership to an executor is necessary. For example,
some libraries require t...

7de749b77bc07ce1c705632be5718d49a0fd2198 authored almost 7 years ago by Carl Lerche <[email protected]>
I/O resources lazily bind to reactor. (#160)

This patch makes a significant change to how I/O resources bind to a
reactor. Currently, an I/O...

2eabc37599de93e2fe710608f8cfeec9fce0053e authored almost 7 years ago by Carl Lerche <[email protected]>
Improve current thread tests (#161)

* Create variables as closer as possible to their usage
* Check that no message is lost in test...

1190176be7912db327f5e2784e51ce87c385201b authored almost 7 years ago by Roman <[email protected]>
Support current_thread::spawn from task drop (#157)

Currently, the thread-local tracking the current thread executor is not
set when a task is drop...

8e1a9101f098f56692978bb2d4985238359891fa authored almost 7 years ago by Carl Lerche <[email protected]>
Update badges in README (#159)

427b7325d0c45a5371808900d039970387eb2796 authored almost 7 years ago by Roman <[email protected]>
Fix race condition in CurrentThread. (#156)

The logic that enables `CurrentThread::turn` to avoid unbounded
iteration was incorrect. It was...

2961a2388cb55fa7487f2240878e0b74088dc09f authored almost 7 years ago by Carl Lerche <[email protected]>
Only deploy docs on linux. Take 2 (#155)

Try using an env var to enforce the doc deploy condition.

df3a92532be88c19017150f55e6d9228f9c28d04 authored almost 7 years ago by Carl Lerche <[email protected]>
Only deploy docs on linux (#154)

23f451e8b11ac0ae784087172f6a96f6c2d6b6e7 authored almost 7 years ago by Carl Lerche <[email protected]>
length_delimited: add a native_endian builder method (#144)

This method is useful when reading from a operating system service.

40cbd0f296556f91e3c4c3d429dffc34e1b3f3e7 authored almost 7 years ago by Ben Boeckel <[email protected]>
Lio3 (#142)

FreeBSD uses a separate kqueue filter type for lio_listio. This change
adds support for that f...

3b64fe93638a8453a1c001a6a443915e4ac71c25 authored almost 7 years ago by Alan Somers <[email protected]>
Fix bug with CurrentThread::turn (#152)

CurrentThread::turn uses a turn count strategy to allow `turn` to not
run infinitely. Currently...

5334de5e4420caf77523d7715cb81f05323607ae authored almost 7 years ago by Carl Lerche <[email protected]>
Introduce the Tokio runtime: Reactor + Threadpool (#141)

This patch is an intial implementation of the Tokio runtime. The Tokio
runtime provides an out ...

fe14e7b127b17a1e8f267f467843d2a7355c94be authored almost 7 years ago by Carl Lerche <[email protected]>
Update root license file

e0d95aa037c354240ea495542b7afe29ad30e337 authored almost 7 years ago by Carl Lerche <[email protected]>
Adjust handle documentation (#140)

dc225faf2497b1fc350d01b4722f5aead56269bb authored almost 7 years ago by cetra3 <[email protected]>
Make benches compilable again (#133)

8605d5d24325a85938991686960387c9d8a75317 authored almost 7 years ago by Roman <[email protected]>
Remove references to `Remote` (#135)

Fixes #121

4704f612776159ca99618099ffcdb06dc7b9bbfa authored almost 7 years ago by Carl Lerche <[email protected]>
Split io code (#129)

* move src/io.rs -> src/io/mod.rs
* move src/read.rs -> src/io/read.rs
* move src/read_exact.r...

88a7030f730a4ebf66f82460558bbb0e13c02bae authored almost 7 years ago by Roman <[email protected]>
Split codec code (#128)

* move src/codec.rs -> src/codec/mod.rs
* Move traits Encoder and Decoder from src/framed_{read...

35aeabd3ffda78fea756b786bbf0fe38f7e71d83 authored almost 7 years ago by Roman <[email protected]>
Bump version to v0.1.1 (#131)

0b58bded7c0c04f07dd5418fdbaa0976369985ba authored almost 7 years ago by Carl Lerche <[email protected]>
Remove fn that was never intended to be pub (#130)

This function could not be called from a public setting in the first
place due to the argument ...

609786ed4151e7880f3d6bada8b0575c57a63902 authored almost 7 years ago by Carl Lerche <[email protected]>
Fix example doc comment (#124)

Fixes #123

a9da59882c3781a8fdc8adefdf25b143aad1f372 authored almost 7 years ago by Carl Lerche <[email protected]>
Update the required Mio point release. (#120)

Tokio depends on the latest Mio point release, so update Cargo.toml to
reflect this.

4ae76132c16c2cffd80373ea8c69091ab32d5b02 authored almost 7 years ago by Carl Lerche <[email protected]>
Prepare for tokio 0.1 release (#119)

23bc9d20d315d904918817b05bc043dca68b3da3 authored almost 7 years ago by Carl Lerche <[email protected]>
Make `Handle::wakeup` private (#117)

The `Handle` type is intended to be used by end users of Tokio. The
wakeup functionlity is need...

c225b46b187bf364143dd71b0f027c2eaf0cb66b authored almost 7 years ago by Carl Lerche <[email protected]>
Remove `framed` fn from `UdpSocket` (#116)

Instead, use `UdpFramed::new` to create a framed wrapper around the UDP
socket.

c30fa62ddafa3fdf9a2af96ed2d2c6a20397e7c2 authored almost 7 years ago by Carl Lerche <[email protected]>
Remove UdpCodec (#109)

`UdpFramed` is updated to use the `Encoder` and
`Decoder` traits from `tokio-io`.

ad8338e4da63f659acce89284381d08a2474f85b authored almost 7 years ago by Roman <[email protected]>
Fix: struct shoutdown ignore Async::NotReady (#114)

73b763f69fe517fdbbb0360bd9c0a50db8f8f62c authored almost 7 years ago by cssivision <[email protected]>
Switch back to futures from crates.io (#113)

Doing so requires copying the `current_thread` executor from GitHub into
the repo.

f0ea9d6f4c0a734ac4c235630f3d8cc51fb48f51 authored almost 7 years ago by Carl Lerche <[email protected]>
Add a chat example (#112)

567887cc75170437f75f19f5966f2b32bf49ab72 authored almost 7 years ago by Carl Lerche <[email protected]>
Rename TcpStreamNew -> ConnectFuture (#111)

3840ceafeeb43e9489ae7df2b0b1f54c9dd1d401 authored almost 7 years ago by Roman <[email protected]>
Fix link to documentation in README (#108)

a5e9c311bf324d214e362d0c009ee3bcc87b99ca authored almost 7 years ago by Carl Lerche <[email protected]>
Track futures tokio-reform branch (#88)

This patch also updates tests and examples to remove deprecated API
usage.

2e94b658ed161ef7207a8decb20564556e9883f8 authored almost 7 years ago by Carl Lerche <[email protected]>
Move tokio-io into the git repository. (#96)

The crates remain separate, but are now developed in the same git
repository using cargo worksp...

b9db119b456427d655b651f4f16d4266e6e16d98 authored almost 7 years ago by Carl Lerche <[email protected]>
Limit the max number of registered resources (#95)

* 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]>
Poll evented mutability (#37)

Generally speaking, it is unsafe to access to perform asynchronous
operations using `&self`. Ta...

65cbfced2950ac228514c176ad5c7b83da80693f authored almost 7 years ago by Carl Lerche <[email protected]>
Move set_fallback to Reactor from Handle. (#93)

The caller should be required to have control of a reactor when setting
it as a fallback. A `Ha...

a6162200905494745895bc8c1ba63d42cd7648af authored almost 7 years ago by Carl Lerche <[email protected]>
Add CHANGELOG stub.

a998367002ddd539e70d73f868546968699d4cd1 authored almost 7 years ago by Carl Lerche <[email protected]>
Remove UDP only_v6 accessors. (#94)

These fns are not included on std's UdpSocket.

c1c06f8ac131152c7ac8e6d6008d59dda964fe92 authored almost 7 years ago by Carl Lerche <[email protected]>
Change `net::Incoming` signature to match std. (#89)

std's `Incoming` iterator yields `TcpStream` instances. This patch
updates the `Incoming` futur...

ae627db266600f8d010b6eeb9d1be0fff677f0ce authored almost 7 years ago by Carl Lerche <[email protected]>
Remove only_v6 from TCP types (#90)

f4ec9a6360c5e2d3066dc5b278f116c8febe701c authored almost 7 years ago by Carl Lerche <[email protected]>
Update send_dgram function signature. (#91)

* Update send_dgram function signature.

All other fns take `&SocketAddr`.

* Fix tests

0f4706d752ebf42700543cf85dd89e843fd7a15b authored almost 7 years ago by Carl Lerche <[email protected]>
Remove &addr arg from TcpListener::from_std (#92)

This has been deprecated in mio.

117dcba8cbff8fc5b688865360eb2c04277b09eb authored almost 7 years ago by Carl Lerche <[email protected]>
Merge remote-tracking branch 'core/master' into new-crate

fd37fb0f17ab0f3761f956efccaa386263cc6e9c authored almost 7 years ago by Carl Lerche <[email protected]>
Uncomment `deny(warnings)`

a41c0800f9ea74d4fe20476c61e87732c6ac334d authored almost 7 years ago by Carl Lerche <[email protected]>
Use 64 iovecs in TcpStream::write_buf (#295)

e140dabed2d92c09707f1fa8d456febd9c6500be authored almost 7 years ago by Sean McArthur <[email protected]>
More OSX fixes

fbdf04f6049ad718493ae851284fda66cad35ce7 authored almost 7 years ago by Alex Crichton <[email protected]>
Fix compile on OSX

a3c4aec127ce0532b0a72ba5ee2eb3096c04f56a authored almost 7 years ago by Alex Crichton <[email protected]>
Add debug logs for how long dispatch takes (#81)

I've often found this to be quite useful when debugging why event loops are
stuck or some other...

730228c8cb2c9fa5a01a565619b692528645fc30 authored almost 7 years ago by Alex Crichton <[email protected]>
Delete the `IoToken` type (#83)

This was added oh-so-long ago and nowadays is just used by one consumer,
`PollEvented`. Let's j...

826e27685c53fc5697440e32550c68ffafb0cea8 authored almost 7 years ago by Alex Crichton <[email protected]>
Fix UdpCodec::encode (#85)

* Refactor UDP SendDgram & RecvDgram

Get rid of unnamed structs in the favor of priva...

025f52aadcc8b35d47701241f675623c7f1d42ff authored almost 7 years ago by Roman <[email protected]>
Get rid of some deprecated warnings (#292)

And allow the others to pass.

b081e9593f7d758bc055e29c445b2fd70252f260 authored almost 7 years ago by Michal 'vorner' Vaner <[email protected]>
Bump to 0.1.12

99fc38e0d652ba8d9a3437e70e4729c86edffc01 authored almost 7 years ago by Alex Crichton <[email protected]>
add TcpStream::peek (#291)

ce014943eca3b63c249c8b745dc70defbe30ee34 authored almost 7 years ago by Sean McArthur <[email protected]>
Use an events iterator rather than indexing (#82)

Eventually mio won't provide an indexable interface, so switch over to using the
iterator-based...

dac13c1df4a5baa8e7e4c25749585c2d90278af0 authored almost 7 years ago by Alex Crichton <[email protected]>
Expand CI coverage and update README (#80)

Closes #64

555c97b3137ed9b38d19ee780aec6f5b1ef6ea79 authored almost 7 years ago by Alex Crichton <[email protected]>
Bump dependencies (#289)

b395ccb6d955a8d4f56e7cc3bfdc0bfb28742f2c authored almost 7 years ago by Bastien Orivel <[email protected]>
Use correct project name in README.md. (#288)

943cd860cb51dff519ba9cb0b115a2c8c4ba4f87 authored almost 7 years ago by Sean Stangl <[email protected]>
Touch up documentation for `Reactor::turn`

cde387d7e728f227db41a0d73e1a9ed9a9e2a2d0 authored about 7 years ago by Alex Crichton <[email protected]>
Change a return value of reactor::poll to io::Result. (#40)

* 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]>
Return a `Turn` type from the `turn` method (#60)

This is mostly just future-proofing, the type doesn't actually do anything right
now.

571e3227550d4d28c26b6c6f5e296be7dfe218f7 authored about 7 years ago by Alex Crichton <[email protected]>
Remove `Handle` argument from I/O constructors (#61)

This commit removes the `Handle` argument from the following constructors

* `TcpListener::bin...

4ef772b2db9fdf19625e428f1031409994b4c8e6 authored about 7 years ago by Alex Crichton <[email protected]>
Add a `Handle::wakeup` method (#59)

This method is intended to be used to wake up the reactor from a remote thread
if necessary, fo...

849771ecfa1e22fdd4f0bd299d10f0026ce14ed5 authored about 7 years ago by Alex Crichton <[email protected]>
Remove the `Reactor::run` method (#58)

This commit removes the `Reactor::run` method which has previously been used to
execute futures...

a577bfc033b50c913c2241c432bcaeac3917145c authored about 7 years ago by Alex Crichton <[email protected]>
Start adding a global event loop

This commit starts to add support for a global event loop by adding a
`Handle::default` method a...

32f2750c2d99e82d64033c5865d2f4e029cb31ac authored about 7 years ago by Alex Crichton <[email protected]>
Bump to v0.1.11

c45bbaa04ee2a9524976374c204b9568f991dceb authored about 7 years ago by Carl Lerche <[email protected]>
Add TcpListener::accept_std (#284)

963eee3bc7615accd7d8b97ad1ea24d697d36d36 authored about 7 years ago by Steven Fackler <[email protected]>
return TcpStreamNew for TcpStream::connect_std (#66)

23a0e990d2c06520a7461b0a4790b8abe3183129 authored about 7 years ago by Thomas de Zeeuw <[email protected]>
Avoid allocation when return a `WouldBlock` io::Error (#65)

402cd3034da33442e6b0c2d41cf333127043850a authored about 7 years ago by Thomas de Zeeuw <[email protected]>
Derive debug on public structs (#62)

* 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]>
Blanket rename `Core` to `Reactor`

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]>
Tweak the `PollEvented::deregister` signature

This commit changes the `PollEvented::deregister` signature from

fn deregister(self, handle...

46062794aaedf1d2f8385124fa5b7061317a2527 authored about 7 years ago by Alex Crichton <[email protected]>
Add TcpListener::accept_std as a method

This should allow configuration over what reactor accepted streams go on to by
giving back a lib...

2e584228901db1fd57d68676b4978389fcbecff2 authored about 7 years ago by Alex Crichton <[email protected]>
Change `need_read` and `need_write` to return an error

This commit is targeted at solving tokio-rs/tokio-core#12 and incorporates the
solution from tok...

e86fc4917afadbf3d1598a88693ea865befc1aa4 authored about 7 years ago by Alex Crichton <[email protected]>
Rename networking constructors with `_std`

This commit renames the various constructors of networking types to have a
`_std` suffix instead...

8fcce957cd0f8484e5ad078fc4ada244ea463fb0 authored about 7 years ago by Alex Crichton <[email protected]>
Remove `NEXT_LOOP_ID`

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]>
Remove `TcpListener::pending_accept` field

No need for oneshot shenanigans as now we'll always have the `Handle` available
to us regardless...

329bca15a6d8e00e4de967e40da8aaf346cf54cc authored about 7 years ago by Alex Crichton <[email protected]>
Remove the `Remote` type

The `Handle` type is now `Send` and `Sync` so the `Remote` type no longer needs
to exist.

7c768fc046188fd6bb640fd1b3679a06d1404b4b authored about 7 years ago by Alex Crichton <[email protected]>
Doc improvements (#46)

* 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 code (#44)

* 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]>