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

Clarify what `NoopWaker` does (#819)

30f59670c8c2843fe6852b37e0637b0d52eb9ada authored almost 6 years ago by gralpli <[email protected]>
examples: single-threaded chat combinator example (#794)

9e4ddaeaf3ffcc6794c6669fd6a2019d3a113cbd authored almost 6 years ago by jq-rs <[email protected]>
Stablize pin feature (#814)

Box::pinned has been renamed to Box::pin. Meanwhile, the pin feature
no longer requires an attr...

03e2e864f37c565d209f3118da771cd2c9f1d680 authored almost 6 years ago by Balthild Ires <[email protected]>
tokio-reactor: deprecates `Handle::current()` (#805)

The side effects of calling `Handle::current()` from outside of a
runtime could be very surpris...

c8a990eda470fb9b66b1cd9cd384010d1019673a authored almost 6 years ago by Sean McArthur <[email protected]>
executor: impl Unpark for Arc<Unpark> (#802)

1a5026324fd41abe4cf46d10b1b860546080c254 authored almost 6 years ago by Pavel Strakhov <[email protected]>
threadpool: introduce a global task queue (#798)

fdf4aba6219fd5a30097a3a38231aa51691c4ed7 authored almost 6 years ago by Stjepan Glavina <[email protected]>
ci: remove ALLOW_FAILURES=false in travis for nightly cargo doc (#816)

201b6ce53a0f2fe7cbba50802253fda33e6e3bd5 authored almost 6 years ago by Roman <[email protected]>
docs: fix warnings for nightly docs (#792)

db6927520274581eb7bf6b2595ba8ad5b8c3624e authored about 6 years ago by Roman <[email protected]>
ci: improve travis run times (#793)

af85cb34306bc4ec58d76d49e5226bcdd1e717bb authored about 6 years ago by Roman <[email protected]>
Minor change in documentation of Decoder::decode (#797)

`None` -> `Ok(None)`

36f1a19ac88f36c3d855245f36d272e940446e67 authored about 6 years ago by Christian Bourjau <[email protected]>
threadpool: fix semaphore deadlock (#795)

6aa990ea75dadf344dc7c4060553c18746343b04 authored about 6 years ago by Stjepan Glavina <[email protected]>
threadpool: improve the documentation of `blocking` (#789)

760a7667d60be306177d522bc622b144a73f0d98 authored about 6 years ago by Simon Farnsworth <[email protected]>
fs: added usage examples/doctests to File (#786)

2283b63e9ef6b5f7c2eaf3953bc1ec7c98a71e82 authored about 6 years ago by Matt Gathu <[email protected]>
uds: fix WouldBlock case in UnixDatagram send methods (#782)

8263e5f18d973e03fc6d0d85cbb2ea2bf95a485b authored about 6 years ago by Felix Obenhuber <[email protected]>
examples: remove reference to tokio-core (#780)

b3e57b60d069efe09ed5ed5dc6b2f792d9f683f0 authored about 6 years ago by Carl Lerche <[email protected]>
tcp: add usage examples to TcpListener and TcpStream (#775)

Refs: https://github.com/rust-lang-nursery/wg-net/issues/54

1cd0ebfc5e46d915c7571327e0bd64568a93d373 authored about 6 years ago by Matt Gathu <[email protected]>
reactor: update to parking_lot 0.7 (#778)

4797d7995048357dc4f81c50c6bae62ff39f2360 authored about 6 years ago by David Kellum <[email protected]>
tls: make TlsConnector and TlsAcceptor derive Clone (#777)

e7d9ba7e516bf7e15a7fc064e4350792e818b068 authored about 6 years ago by Steven Fackler <[email protected]>
net: export UnixDatagram and UnixDatagramFramed (#772)

527dc0a66f04db6af1abadf08aceed3857d653da authored about 6 years ago by luben karavelov <[email protected]>
Bump version to v0.1.13 (#771)

This also bumps the following sub crate versions:

* tokio-current-thread (0.1.4)
* tokio-rea...

b117fc1d65e72fa25eb0a921f77e5e2e0a8a49bb authored about 6 years ago by Carl Lerche <[email protected]>
threadpool: remove smoke example (#764) (#770)

272e09d349b00e36303c12ed5ce9ba77ad2c4720 authored about 6 years ago by Felix Obenhuber <[email protected]>
threadpool: refactor pool shutdown (#769)

32357490067310bff74c9f94697d5974a570a834 authored about 6 years ago by Stjepan Glavina <[email protected]>
threadpool: rename inner to something more descriptive (#768)

`inner` is a fitting name for variables of type named `Inner`, but in other cases I find them co...

9c037044c4b837a7803be34c6d1a5e23d16011de authored about 6 years ago by Stjepan Glavina <[email protected]>
uds: implement UnixDatagramFramed (#453)

Implement `Stream + Sink` layer on top of unix domain sockets
using codecs.

3658e10045664e816a65851d1e25c68965ec4359 authored about 6 years ago by Patrick Barrett <[email protected]>
current-thread: fix shutdown on idle (#763)

When spawning using `Handle` while on the executor, tasks were being
double counted. This preve...

ed3ece266b5ab2ae3795a91d8dac25bc0fdfeec2 authored about 6 years ago by Carl Lerche <[email protected]>
tests: handle errors properly in examples (#748)

9b1a45cc6a15f5d2be17531dffc2f50d2b019646 authored about 6 years ago by Liran Ringel <[email protected]>
ci: Don't deploy docs if $TARGET is set (#762)

477fa5580aa3796f97e3e0eb1325d4690b3b4e96 authored about 6 years ago by Carl Lerche <[email protected]>
tests: switch to Windows Server 2016 for AppVeyor builds. (#761)

Should hopefully fix the underlying bug that was causing tokio-tls tests to occasionally fail on...

bb6cca8ff0bd8ee3b9998cf2b0df58800eee39ae authored about 6 years ago by Toby Lawrence <[email protected]>
Implement throttle combinator (#736)

Throttle down a stream by enforcing a fixed delay between items.

e166c4d91231c5af00df903b16b91c5c364f9b27 authored about 6 years ago by Moritz Gunz <[email protected]>
Allow nightly builds to fail. (#743)

* tests: allow nightly builds to fail

Signed-off-by: Toby Lawrence <[email protected]>

b7506cf66385871263dc9c087e07bad4428170e0 authored about 6 years ago by Toby Lawrence <[email protected]>
io: allow deprecated code in length_delimited test (#759)

This file is testing deprecated code, so it should be permitted to
access deprecated code.

dc4a29359f568368a913ec0cc7bb8ea117e795fe authored about 6 years ago by Carl Lerche <[email protected]>
Expose `after_start` and `before_stop` in `runtime::Builder` (#756)

Closes #705

d3dca4552b300ad7b43491bcb67f8ddbebab503d authored about 6 years ago by Bastian Köcher <[email protected]>
Fix async await README example (#758)

* async-await: fix README example dependencies

As per commit "async-await: track nightly chan...

42a0df1ea4b51eaa253e116ba7cc470ef1231287 authored about 6 years ago by andoks <[email protected]>
rt: fix Builder docs to no longer use deprecated methods (#749)

a98eab6effaee454832b8d5ee61a7738f7b2753c authored about 6 years ago by Brian Myers <[email protected]>
signal: miscellaneous tweaks and improvements (#751)

* Minimize allocation needed for channels

* Use a newtype for signal ids

* We can just cas...

5a5dde70b349ca761d2900f4c7602df4b5a79c3e authored about 6 years ago by Ivan Petkov <[email protected]>
chore: bump rand dependency to 0.6 (#753)

d0963774a3b5ee67d077b239144685c689c11ae0 authored about 6 years ago by Alex Gaynor <[email protected]>
uds: minor doc fix in UnixStream and UnixDatagram (#754)

c83355235cbcf5cf6583f18d21750f3463babb7d authored about 6 years ago by Felix Obenhuber <[email protected]>
fs: add more tests (#755)

Fixes #704.

33a216e4c1035ccefde8359ef90af1d5a8c24573 authored about 6 years ago by Kazuyoshi Kato <[email protected]>
udp: add `into_parts` to `RecvDgram` (#710)

* udp: add `into_parts` to `RecvDgram`

If `RecvDgram` can not be driven to completion it may ...

09f2ac85bf04b732a08250e49084739d1f973a11 authored about 6 years ago by Toralf Wittner <[email protected]>
uds: added solaris support in the `ucred` module (#733)

32a152630f75f0809b63751c0926ed6cf5a26f94 authored about 6 years ago by Ohad Ravid <[email protected]>
fs: add tests for directory-related functions (#704) (#724)

This change adds a few tests around directory-related functions.

9153067d66b7e93efd42561ebba812a15c5b239b authored about 6 years ago by Kazuyoshi Kato <[email protected]>
fs: gen_ascii_chars has been deprecated (#735)

Use sample_iter() instead.

d246964bdffd133e1f2bae413c6a94af13501574 authored about 6 years ago by Kazuyoshi Kato <[email protected]>
Bumped crossbeam-utils version (#746)

## Motivation

tokio depends on an out of date version of crossbeam-utils, which results in mu...

e700607554b3af4e681ea5fa6346b72cffe35185 authored about 6 years ago by Alex Gaynor <[email protected]>
Derive Clone for delay_queue::Key (#730)

Improves API ergonomics with minimal forwards-compatibility hazard.

5321550534614b156919ce8fcd28b223408a6b4c authored about 6 years ago by Benjamin Saunders <[email protected]>
fix tsan errors (#745)

32e1cafb5716c46a5d1b86b5ff46d0d2810d68fa authored about 6 years ago by Stjepan Glavina <[email protected]>
reactor: reduce log level of loop process (#734)

49bc4025dda47b702071ffe7779e6a4983f809e3 authored about 6 years ago by Josh Leverette <[email protected]>
Add tokio-buf and a `BufStream` trait (#611)

The `BufStream` trait provides an improved API for working with
asynchronous streams of bytes c...

51e36e41bc3b734ca5b634ec7c5afd226c12950d authored about 6 years ago by Carl Lerche <[email protected]>
rt: fix `Runtime::reactor()` as used by tokio-core (#721)

* rt: fix `Runtime::reactor()` as used by tokio-core

Up until Tokio v0.1.11, the handle retur...

d011b92b9a51cb59896a1e9366478029c5f54f25 authored about 6 years ago by Carl Lerche <[email protected]>
Bump version to 0.1.12 (#718)

Also bumps the following sub-crates:

* tokio-fs (0.1.4)
* tokio-io (0.1.10)
* tokio-signal ...

f929576f0ea0debedd31cccd9b5a336ea1687568 authored about 6 years ago by Carl Lerche <[email protected]>
signal: Bump version to 0.2.6 (#714)

* Also Update the CHANGELOG to match the rest of the project

b0f001a05a5c21a87c9b1151a41fabbafffe73bf authored about 6 years ago by Ivan Petkov <[email protected]>
uds: add NetBSD support (#715)

2291ba9d0db89de7d0534566e8dce2892c2fbd23 authored about 6 years ago by Iku Iwasa <[email protected]>
contributing: fix an invalid link (#716)

Just move a dot to the right place.

7f84f6b4cab22c6eeeb4fb664c52bbb115b369a3 authored about 6 years ago by Name <[email protected]>
fix a typo in the contributing guide (#711)

5f61bd5252d9e7e060affd8cdecf7d620c7fac4c authored about 6 years ago by Andrew Audibert <[email protected]>
fs: expose fs::File::from_std() (#696)

bffa3ed55845e86a88a72ae018badf6f407f4ff5 authored about 6 years ago by Ryan Dahl <[email protected]>
runtime: check Enter in more places when blocking (#708)

- `tokio::run` checks Enter before creating a new threadpool and
spawning the main future.
-...

7b5ef61aeb3057d3a4d3b761d96c94846e769fc2 authored about 6 years ago by Sean McArthur <[email protected]>
threadpool: Arc instead of Inner in Notifier (#702)

753336de8e2e31eabfd1d4db867a7529ad38e568 authored about 6 years ago by Stjepan Glavina <[email protected]>
tokio: change hello world to new, simpler example (#690)

65aea16ad1da8d25f685f9e50663b64832d0c20b authored about 6 years ago by Ryan Levick <[email protected]>
fs: fix minor documentation error for MetadataFuture (#698)

796fee63648736ba88e6e13e68c3205a85004a54 authored about 6 years ago by nickelc <[email protected]>
threadpool: worker threads shouldn't respect keep_alive (#692)

<!--
Thank you for your Pull Request. Please provide a description above and review
the requir...

adb0ba71d4819be45f3b88ad1e8b1152ad936874 authored about 6 years ago by Stjepan Glavina <[email protected]>
re-export tokio_io::read in tokio::io (#689)

Fixes: #688

bfa6766f3cbe113357c730f1782f842153c3f86f authored about 6 years ago by David Ross <[email protected]>
io: expose underlying codec (#686)

a2f457fa4871a9698195ab1e9f69e0af4df94e7e authored about 6 years ago by Nikolay Kim <[email protected]>
codec: Fix panic in `LengthDelimitedCodec::encode` (#682)

Fixes: #681

## Motivation

Currently, a potential panic exists in `LengthDelimitedCodec::e...

1879bc49ce3126af4b561bfe535cbec9f7ae5b90 authored about 6 years ago by Eliza Weisman <[email protected]>
io: implement prepare_uninitialized_buffer for Take and Chain (#678)

678f6382b86646269c535a616aa7a8cc0e6d5ab4 authored about 6 years ago by Sven Marnach <[email protected]>
threadpool: spawn new tasks onto a random worker (#683)

* threadpool: submit new tasks to a random worker

* Revert unnecessary version bumps

e27b0a46ba916126d7c66dbb0d4b27f85aec84d2 authored about 6 years ago by Stjepan Glavina <[email protected]>
runtime: create reactor per worker (#660)

d35d0518f5b49ea2b301a44d31933a3b64a193b8 authored about 6 years ago by Stjepan Glavina <[email protected]>
io: fix minor documentation errors for Async{Read,Write} (#677)

886511c0a653a10b75fde7b378ac52170f97ac32 authored about 6 years ago by Sven Marnach <[email protected]>
Expose keep_alive on the Runtime builder (#676)

This was overlooked when delegating the rest of the threadpool builder
methods from Runtime's b...

d06bd6b2169cfae5323181cc5c28e0a2fa28e69c authored about 6 years ago by Steven Fackler <[email protected]>
Bump version to v0.1.11 (#675)

This fixes the dependency on `tokio-async-await` to not be scoped to
unix platforms.

Fixes #673

2c85cd09914305a173c6a7467ed0cf90d9049d11 authored about 6 years ago by Carl Lerche <[email protected]>
Bump tokio-uds to v0.2.2

1e45237a28aad44ab7fc18726ba969ba5277be85 authored about 6 years ago by Carl Lerche <[email protected]>
ads: fix UdsStream::read_buf to clear read (not write) readiness (#672)

3a88d855380cab8b114fee1f930f431abda7b50d authored about 6 years ago by Sean McArthur <[email protected]>
Bump version to v0.1.10, fixing minimal versions (#671)

Some minimal versions were not correctly updated.

Also updates:

* tokio-current-thread (v0...

b47ad242686a7f1850c724f691d8cd948f08f47f authored about 6 years ago by Carl Lerche <[email protected]>
Bump version to v0.1.9 (#666)

This also includes bumps to subcrates.

* tokio-async-await (0.1.4)
* tokio-codec (0.1.1)
* ...

cab9a44e0192e9d85bd3a3266c592b5e48511c94 authored about 6 years ago by Carl Lerche <[email protected]>
split facade modules into separate files (#665)

964afb2ce30045caece2c143cd105b7a2c221b8e authored about 6 years ago by Carl Lerche <[email protected]>
async-await: track nightly changes (#661)

The `tokio-async-await` crate is no longer a facade. Instead, the `tokio` crate
provides a feat...

2f690d30bc061a8595744e34fde371882b676a86 authored about 6 years ago by Carl Lerche <[email protected]>
reactor: turn bench-poll into a proper benchmark (#662)

331a88cee678fd9bc14589a41dcb805969c32e5d authored about 6 years ago by Stjepan Glavina <[email protected]>
tinydb: Update doc to reflect change from `RefCell` to `Mutex` (#663)

Fixes: #658

46353737e7ce60ec8b3e77c044a6b2583de2fd51 authored about 6 years ago by Andrew Tunnell-Jones <[email protected]>
async-await: streaming hyper body example (#656)

Add reading the hyper body in the async/await example.

ffd73a64e7ec497622b7f939e38017afe7124dc4 authored over 6 years ago by Carl Lerche <[email protected]>
io: ensure ReadHalf/WriteHalf do not return WouldBlock directly (#655)

* io: ensure ReadHalf/WriteHalf do not return WouldBlock directly

These facades were passing ...

1119d572eeb6dd53cb05cd442459cdaac36385c5 authored over 6 years ago by Toby Lawrence <[email protected]>
threadpool: impl Drop for Queue (#649)

We need to drain the queue when dropping, or else those `Arc<Task>`s
will be leaked.

Fixes #542

20ca59114a0493df699a74b3d472e7afe1bdf921 authored over 6 years ago by Stjepan Glavina <[email protected]>
Add max line length to `LinesCodec` (#632)

## Motivation

Currently, there is a potential denial of service vulnerability in the
`lines`...

3dd95a9ff14109f2b27d181960f478ad67c0c1ae authored over 6 years ago by Eliza Weisman <[email protected]>
fix deprecation warning in test for FutureExt::deadline() (#651)

* silence deprecation warnings for deadline in tests
* add new integration test for timeout

be67eda117838f89486bb1be0041747d531b3a3a authored over 6 years ago by Sven Marnach <[email protected]>
Reexport TaskExecutor from tokio_current_thread (#652)

e267a1922d70db257b1e75d5af37c6109d3c6970 authored over 6 years ago by Alexander Polakov <[email protected]>
Set RUST_BACKTRACE=1 on AppVeyor (#650)

## Motivation

Currently, the `RUST_BACKTRACE` environment variable is set to `1` on
Travis C...

9b456f48d988c567104d7bde3e2cb5234195be77 authored over 6 years ago by Eliza Weisman <[email protected]>
tokio: deprecate and replace runtime::threadpool_builder (#645)

* Deprecate and hide runtime::Builder::threadpool_builder

* Add functions to runtime::Builder...

0ca973a7ebc5b8a29beac1ccb6c73ef26ddcbf22 authored over 6 years ago by Eliza Weisman <[email protected]>
tokio-timer: reset timeout after elapsed in stream (#648)

df6acf0c2aeb9b8e77172ef30008744a1b5e0815 authored over 6 years ago by RT <[email protected]>
Make `tokio::run` panic if called from inside `tokio::run` (#646)

This is implemented by creating an `Enter` instance from within `run`.

This patch also introd...

98d23b8b29da90f174fc61c66a5b8cd9f91778e9 authored over 6 years ago by Eliza Weisman <[email protected]>
tokio-executor: hide deprecated tokio-threadpool reexports (#644)

Fixes: #643
Signed-off-by: Eliza Weisman <[email protected]>

85f85225364b9f4d144076cbbdcdbd917da8fc7b authored over 6 years ago by Eliza Weisman <[email protected]>
Fix tokio-async-await tests compile errors (#630)

d275341fb28fbb3821b3431585dec990bda4be07 authored over 6 years ago by Liran Ringel <[email protected]>
async-await: update deps in tokio-async-await (#639)

d735e5d527cedb8b8867933d4d750e49aa262474 authored over 6 years ago by Nick Cameron <[email protected]>
Add some missing future::Executor implementations (#563)

This adds an implementation of future::Executor for
`executor::DefaultExecutor` and `runtime::c...

4019198706604b107b433499db59d91894aa676e authored over 6 years ago by Carl Lerche <[email protected]>
ci: Run `cargo test` with the --no-fail-fast flag (#635)

Since the CI runs all tests for all tokio crates, it is possible that a
sporadic failure in one...

24dc85dc5e71526aa74b5587348c973beab7ac47 authored over 6 years ago by Ivan Petkov <[email protected]>
Merge pull request #634 from vorner/import-signal-2

Import the `tokio-signal` source from its original repo

Original repository can be found at h...

aaa5adb7fdc5ad8a4f8b73bb1b20e1327d04778a authored over 6 years ago by Ivan Petkov <[email protected]>
signal: Remove Apache license

Whole tokio is MIT only, unifying.

5f68b3aaa1b2be0ab9745f09ee4f0e6b172272ca authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
signal: Fix tests after importing & linking

* Don't use tokio-core any more for tests. That one brings tokio from
crates.io instead of the...

2f69acbe9f5b4cb901180b7c1c028c7673082c52 authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
signal: Link tokio-signal and tokio crates

References in the Cargo.toml, various links.

7e12f5c39ed2a06d067586b0acbd5823ef551fb7 authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
Merge tokio with tokio-signal

462882b356650e2da788535884ddba2e0489ded2 authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
signal: Move to tokio-signal subdirectory

As a preparation to merge with tokio.

35687f1d187ec21019906f900e99f064bf55c0eb authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
signal: Use signal-hook for registration of signals

This saves some code and gets rid of quite some amount of unsafe code.

e7dc3a10916f298915ae40503b33041e53593c86 authored over 6 years ago by Michal 'vorner' Vaner <[email protected]>
signal: Bump version to 0.2.5

b594e240f9bcee0a8022471d9cb69e01f783cfd7 authored over 6 years ago by Ivan Petkov <[email protected]>
signal: Fix a possible starvation with concurrent Signal polls

* Originally reported in alexcrichton/tokio-process#42
* The root cause appears to be due to two...

605708dca6af5ac6a762f3bea235fab1303594a2 authored over 6 years ago by Ivan Petkov <[email protected]>