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
Fixes: #1546
Signed-off-by: Kirill Mironov <[email protected]>
9b3f8564af4bb1aee07fab3c401eb412ca5eeac5 authored over 5 years ago
9766cd644fb3a5c2838085f7d40ab37416f2cee8 authored over 5 years ago
431d4857e89b0fcc77d37277e7ff15a50ffb9e47 authored over 5 years ago
26432355d59a8470e97ea1e58b82f512ed3ac06f authored over 5 years ago
Bring back `split` utility as a free fn instead of a method on
`AsyncRead`. This utility wraps ...
951827229abd597b33d11f325c9c453c22d2962d authored over 5 years ago
383bb0a14304c60e56750af3344455e21120105f authored over 5 years ago
d2bd6f5002f806fd2293c8ad156cdf8f756313ec authored over 5 years ago
6a94d2cf4f325b228aab2da9e878c92d19666764 authored over 5 years ago
4f99470d465fa33affa89d98c51f141f6ba3cdbf authored over 5 years ago
3d9134d13e2e1f41294d4fc4a8447ce085536529 authored over 5 years ago
15dc0563b73d9da3eabdbac89e55b9cfcef691e4 authored over 5 years ago
4e26258ac340b76ef27f1d38d967cfb2b682c2a4 authored over 5 years ago
a59e096c4740204993ab2017dbb5098a35f93992 authored over 5 years ago
A sealed `net::ToSocketAddrs` trait is added. This trait is not intended
to be used by users. I...
Fixes: #1494
de9f05d4d3325a281ddb40adf103fa2b4bba7ee6 authored over 5 years ago* net: switch from `log` to `tracing`.
Motivation:
The `tracing` crate implements scoped, ...
9c31797a087165660a689f7430b6be1ce8eeaa63 authored over 5 years ago
This type is used in return type of `Runtime::run`, but because the type
was not exported it wa...
This code directly relies on `future-preview`'s `RemoteHandle`, and
exposes it via a `spawn_wit...
Provides a thread pool dedicated to running blocking operations (#588)
and update `tokio-fs` to...
This also removes `TcpStream::connect_std` as the conversion functions
from `std` need to be re...
807d5368465e9deed7fa9af01f121c55f5110ad1 authored over 5 years ago
Expose tokio_net::signal::ctrl_c via tokio::net::signal::ctrl_c as feature signal.
654f9d703f8ad55e6d5651ba1c47ca23fa641fd3 authored over 5 years agoa2856896646001f12190ccf03d5c7509ecc0f4bd authored over 5 years ago
13930eff2ae900f0cfbe79ab760fdacdbc3d714b authored over 5 years ago
24fb33e0129e6bea80469388d6bb73cd71a178c2 authored over 5 years ago
a791f4a758604768463d3ca2162b913dcea34c40 authored over 5 years ago
## Motivation
The `tracing` crate implements scoped, structured, context-aware
diagnostics, ...
This commit adds a simple delay shortcut to avoid writing Delay::new
everywhere and removes usa...
357df38861ec61547b5b1d90f0007c11d53fb9ec authored over 5 years ago
34a9dc2d764a5f413d365ed4af94f6af4c42a14a authored over 5 years ago
68d5fcb8d154309ba5abeaf8f092835ff3fa7c52 authored over 5 years ago
* Also removed any `*_with_handle` related methods in favor of always
using the default reactor
7b0c60849cefa9e73b0fec9c16da2f7dc5edb082 authored over 5 years ago
6d8d388dc575896b39f5fa4134667b8ffa7f2fb7 authored over 5 years ago
* This includes running docs, examples, and lib tests for each added
feature, to ensure nothing...
Refs: #1371
a9585f03187316c619ddc11321a2a02cbd0d702d authored over 5 years ago88b4ec84d7f0f1653e2a9bb3231076fc18a91cb3 authored over 5 years ago
Since `tokio_sync::oneshot` makes a `CausalCell::with_mut()` mutable
access in the `Inner::drop...
c187cd75b6c4b4b33eff61d255d74b41ecb82acf authored over 5 years ago
a83f5e4ba60c9934b75b3e47e66d516738fef395 authored over 5 years ago
4935aae1640e668966b615ff32425d57d843bc3a authored over 5 years ago
ba1829fd2633d5cd5cf9f8b0bc51f68a81185a3a authored over 5 years ago
ce7e60e3965283328909aaef57c57e538526a880 authored over 5 years ago
This renames the SignalKind constructors to be a bit more readable
instead of using the signal ...
4788d3a9e3dd037424442c98e9f26b93a33a2077 authored over 5 years ago
Space is made to add `tcp`, `udp`, `uds`, ... modules.
f1f61a3b15d17767b12bfd8c0c5712db1b089b0b authored over 5 years agoThis PR fixes the echo example in tokio-fs.
Refs: #1255
d0a8e5d6f2921fadc51a9612f6fe558e4213560f authored over 5 years agoThe threadpool is behind a feature flag.
Refs: #1264
3b27dc31d28df93fcc65ed3b744033d4ad4f77cc authored over 5 years ago37131b21144de133628b54a1de500b623058f8cf authored over 5 years ago
* reactor: rename tokio-reactor -> tokio-net
This is in preparation for #1264
8538c25170240fa46313ffe9d4a9a2f9ba2536e5 authored over 5 years agoThis PR fixes the print each packet example in tokio.
Refs: #1201
7b6438a17247e026c996712a7c83d0c43442d73e authored over 5 years agoThe `CurrentThread` executor is exposed using a feature flag.
Refs: #1264
9de7083be89bde2e26ee5bc4f3333f5c8d13762d authored over 5 years ago8d55f98f6fbd6cda5093f0ace9eb31e6c06f3e8d authored over 5 years ago
999a600494c7b491e65094518ca72a57e27c3ab0 authored over 5 years ago
Add executor::exit, allowing other executors inside threadpool::blocking.
fb9809c0684633cbaaee871dce084c9228598a78 authored over 5 years ago517162792f7644a70efbfb8ce628895f8c338b65 authored over 5 years ago
fe90d61446b592d4e95bc226edd81c5994ceaa24 authored over 5 years ago
This avoids having consumers import libc for common signals, and it
improves discoverability si...
Windows guarantees handler routines are always invoked in a new thread
(https://docs.microsoft....
73a91ad7b3739cbf27f9eb05bf4f8b38067a83c6 authored over 5 years ago
930cce86771d318c640a16483b8b27d48844a8d7 authored over 5 years ago
6a125082e48c6e2334d64e4ebc5b6a988cf27b3f authored over 5 years ago
d9f9c5658f135d2c5aca19ef435266170187c924 authored over 5 years ago
fff39c03b19871aafad25df5b8688d3915f001a0 authored over 5 years ago
This mirrors split API available in TcpStream.
756606a58be2ad29c33752873d2c5c3c2f7a1d71 authored over 5 years ago
How the buffer is managed is often critical for performance. Not
taking care of it will be cata...
42fa0c28d3c087db0bfe08c0e439a5b84e0f7ec3 authored over 5 years ago
f7b41c9dccfee0bc4442fde1f5e1dcede46af73e authored over 5 years ago
73102760cfe1632b6b8073dfa5a506c0e69e4b5e authored over 5 years ago
18833a8e6709c3489ea8f401f1a9d9a28ae20226 authored over 5 years ago
eba8bf2b4b082d7a9daab8fd3aecf7a95e9466e2 authored over 5 years ago
790d649dc5ad06c7c231a7d747c3ac0abb9c8269 authored over 5 years ago
50e5d401df9931eafabee554bb1a370958fc57d2 authored over 5 years ago
2e69f2a7fddfe3d9940ace8ed5610cca83b75369 authored over 5 years ago
* update all tests
* fix doc examples
* misc API tweaks
831be9c08e1679b9f59e96e042f0258c9f682a48 authored over 5 years ago
23c380a78f0c1f69b246d3657c51bd44e6bda78a authored over 5 years ago
Signed-off-by: Lucio Franco <[email protected]>
0a05332648589e2f063e678f174fb15d22cb7c28 authored over 5 years ago* Migrate threadpool to futures-util
Signed-off-by: Lucio Franco <[email protected]>
...
7268b0bb3a3f661869a539efaacfd8d049a74e9f authored over 5 years agoSigned-off-by: Lucio Franco <[email protected]>
6412389bba941601511fb0e50a5a7545b755c433 authored over 5 years ago
* `impl AsyncRead for &[u8]`
* `impl AsyncBufRead for &[u8]`
* `impl<T: AsRef<[u8]> + Unpin> A...
7174c63bf941e1b882e2da10833e8ed5a4f72d3e authored over 5 years ago
* Denied all warnings in tests, and denied rust_2018_idioms violations
* Bumped the crate versi...
47e2ff48d9f1daac7dba9f136b24eed64c87cf40 authored over 5 years ago
- Remove `poll_*` fns from some of the sync types.
- Move `AtomicWaker` and `Lock` to the root ...
05d00aebb7b8b467571a8cf58cb18ee4de8658c1 authored over 5 years ago
This removes the need for manual futures.
62733a659424d56296b6983fc02deaa14b374e58 authored over 5 years ago6d8cc4e4755abbd0baac9abf154837b9be011a07 authored over 5 years ago
Also update all the doc examples.
6cbe3d4f82f2c10be108366ece63e1fb180c90b9 authored over 5 years ago337646b97fc4583351ae47e4db13a5e51346afdc authored over 5 years ago
* AsyncBufRead for FramedWrite2<T>
* BufRead for FramedWrite2<T>
* AsyncBufRead for Fuse<T, U>...
63377e2110657fbfb085269f221836245755bdde authored over 5 years ago
Updates API documentation for
- tokio-buf
- tokio-codec
- tokio-current-thread
- tokio-exe...
Sub-crates should require opting into features.
2c01b3e0e00867775fbc9b944357a548a971f861 authored over 5 years agoee9105d166e4cf64b6beec8c9b773f7d5dbea522 authored over 5 years ago
5a4f849bba2b7f7788b1f9d108c8763d89241418 authored over 5 years ago
Utilities are made optional with a feature flag.
ff41108834ab8fdf92e5c337b46637ba696d89c7 authored over 5 years ago* io: Add `AsyncWriteExt::flush`
* fmt
* fix clippy
6b202722ea78548b941b3aa6e92ff281a7ce42c5 authored over 5 years ago