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

chore: prepare tokio-test v0.4.3 (#5943)

3b79be624d83d6763e23728a44c90963f0353f5c authored over 1 year ago by Alice Ryhl <[email protected]>
sync: add const fn `OnceCell::from_value` (#5903)

Signed-off-by: Jiahao XU <[email protected]>

8955ed5f8525d3585d99e762452978edb69a73ad authored over 1 year ago by Jiahao XU <[email protected]>
sync: add `Semaphore` example that limits open files (#5939)

bc26934e3bedd3b46dd406622a95e1ea14c03be0 authored over 1 year ago by Matilda Smeds <[email protected]>
docs: added trailing backticks (#5938)

3d64a06600179f85c3f20022733bb0c97e3367b5 authored over 1 year ago by Hamza Jadid <[email protected]>
chore: prepare Tokio v1.32.0 release (#5937)

a7d52c2fede5ebd8f6e49d52a4af77138e0bd6e1 authored over 1 year ago by Carl Lerche <[email protected]>
rt: improve docs for Builder::max_blocking_threads (#5793)

Closes #5777

f5f2b58b8dc6fcfb22d9c917d6c87410adab81e9 authored over 1 year ago by Marek Kuskowski <[email protected]>
docs: BytesMut::with_capacity does not guarantee exact capacity (#5870)

718dcc8dff0262835c2972cf031bc2421398ffc6 authored over 1 year ago by mahkoh <[email protected]>
io: add `Ready::ERROR` and report error readiness (#5781)

Add `Ready::ERROR` enabling callers to specify interest in error readiness. Some platforms use e...

10e141d211526559190b97904508e3aee6c1fece authored over 1 year ago by Folkert de Vries <[email protected]>
rt(alt): tweak some constants to improve scalability (#5935)

This patch aims to reduce the number of threads that get no-op wakeups.

6e42c26c803e39ea92251487ddd50322b170c52d authored over 1 year ago by Carl Lerche <[email protected]>
io: minor tweaks to `AsyncFd` (#5932)

82bef00db452a91382e6f122ac99726cda79a5bc authored over 1 year ago by Folkert de Vries <[email protected]>
readme: list previous LTS releases (#5931)

40633fc678251f7515d1d6429cbf4fe4aa59e37d authored over 1 year ago by Alice Ryhl <[email protected]>
sync: move broadcast waiters into separate list before waking (#5925)

Within `notify_rx`, looping while re-locking and re-reading from
`Shared.tail` as long as there...

3dd5f7ae2e6e7bb78de4ffb6469b96603293d2bb authored over 1 year ago by Aspen Smith <[email protected]>
process: stabilize `Command::raw_arg` (#5930)

2c92cad9db3c3a30250b9d50e3e9dab88e6db42f authored over 1 year ago by Félix Saparelli <[email protected]>
streams: create StreamMock for testing Streams (#5915)

Introduce a new mock type to tests streams and eventually
sinks. Only includes next() and wait(...

197757d44014639031726e3ea2b224ce750db7c4 authored over 1 year ago by joe thomas <[email protected]>
chore: prepare Tokio v1.31.0 release (#5928)

8b8005ebddbce0ec6d5e437905d00b91f3999b97 authored over 1 year ago by Carl Lerche <[email protected]>
rt: unstable EWMA poll time metric (#5927)

Because the runtime uses this value as a tuning heuristic, it can be
useful to get its value. T...

6cb106c3538cf527495ef5491c088d1365b14c8e authored over 1 year ago by Carl Lerche <[email protected]>
rt(alt): fix memory leak and increase max preemption when running Loom CI tests (#5911)

The memory leak was caused by a bug during shutdown where some state was leaked.

dd23f08c3a35495b4b53defa81ec0ca2c75a5f7d authored over 1 year ago by Carl Lerche <[email protected]>
io: delegate `WriteHalf::poll_write_vectored` (#5914)

5d29bdfb0cb9e2562c662c76a362bb823f88ffd5 authored over 1 year ago by Jakub Kubík <[email protected]>
chore: prepare Tokio v1.30.0 release (#5917)

4c220af777b1b832f4a00b5b261de77c22a7209b authored over 1 year ago by Brian Cardarella <[email protected]>
process: add `{ChildStd*}::into_owned_{fd, handle}` (#5899)

0a631f88e8fd5d347c8297c9114d25382889d395 authored over 1 year ago by Jiahao XU <[email protected]>
ci: fix MIRI tests (#5919)

A change to parking lot or miri resulted in CI breaking.

ee44dc98d8de245092b4155dc6ffe35f1c886e11 authored over 1 year ago by Carl Lerche <[email protected]>
time: mark `Sleep` as `!Unpin` in docs (#5916)

51cffbb74f1d2d09fff4e3431199641620c1b3b5 authored over 1 year ago by Consoli <[email protected]>
rt(alt): fix a number of concurrency bugs (#5907)

Expands loom coverage and fixes a number of bugs.

Closes #5888

8832e936b1b86946ce802c5494bd8d575f8ba3a3 authored over 1 year ago by Carl Lerche <[email protected]>
time: implement extra reset variants for `Interval` (#5878)

dbda2045f18713f752902226d7bad24037b5788b authored over 1 year ago by Victor Timofei <[email protected]>
rt: pop at least one task from inject queue (#5908)

When attempting to pull a batch of tasks from the injection queue,
ensure we set the cap to at ...

7c54fdce3e68566e346b7999ef1ff98bb1977bab authored over 1 year ago by Carl Lerche <[email protected]>
sync: avoid false sharing in mpsc channel (#5829)

38d1bcd9df6af2de436c5f898829d071f8e46988 authored over 1 year ago by wathen <[email protected]>
runtime: fix flaky test `wake_while_rt_is_dropping` (#5905)

52e65102154cbbd49c3af4e6d208609476cdfdb4 authored over 1 year ago by Alice Ryhl <[email protected]>
Update CI config (#5893)

e5e88551d2be7655ee71771533168d4fe9ea7793 authored over 1 year ago by Taiki Endo <[email protected]>
sync: make `const_new` methods always available (#5885)

Since MSRV is bumped to 1.63, `Mutex::new` is now usable in const context.

Also use `assert!`...

efe3ab679a05f3da3fcc511a44120239830254f2 authored over 1 year ago by Jiahao XU <[email protected]>
tokio: removed unused `tokio_*` cfgs (#5890)

Signed-off-by: Jiahao XU <[email protected]>

fb08591b43a412e6804f679fe35667906b67b324 authored over 1 year ago by Jiahao XU <[email protected]>
example: use `copy_bidirectional` in proxy.rs (#5856)

6aca07bee745c8a1f8ddc1c0f27732dec9d3cdb2 authored over 1 year ago by kiron1 <[email protected]>
ci: fix clippy warnings (#5891)

Signed-off-by: Jiahao XU <[email protected]>

5128601898c788bd1f9cc044eee2859e3b213998 authored over 1 year ago by Jiahao XU <[email protected]>
tokio: bump MSRV to 1.63 (#5887)

c445e467ce4363b3a9b6825268814a9bc27c0127 authored over 1 year ago by Jiahao XU <[email protected]>
rt(alt): track which workers are idle. (#5886)

The scheduler uses this map to avoid trying to steal from idle workers.

a58beb3aca18e6ec4cb444b6c78d5a3373742998 authored over 1 year ago by Carl Lerche <[email protected]>
rt: initial implementation of new threaded runtime (#5823)

This patch includes an initial implementation of a new multi-threaded
runtime. The new runtime ...

4165601b1bbaa7c29cbfb319fe75a9adddf4085e authored over 1 year ago by Carl Lerche <[email protected]>
rt: add runtime ID (#5864)

There are a number of cases in which being able to identify a runtime is
useful.

When instru...

63577cd8d3f2b1a1c787870125ab808eaa1eaa99 authored over 1 year ago by Hayden Stainsby <[email protected]>
net: implement `UCred` for espidf (#5868)

02544540f198e07a6db5a8679c60b753fd1e0d4c authored over 1 year ago by Josh Guilfoyle <[email protected]>
poll: Do not clear readiness on short read/writes. (#5881)

The new mio_unsupported_force_poll_poll behaviour works the same as
Windows (using level-trigge...

d64c8e3ae0933faa5a951c5d351b347a8a1f2605 authored over 1 year ago by Josh Guilfoyle <[email protected]>
rt: use optional non-zero value for task `owner_id` (#5876)

We switch to using a `NonZeroU64` for the `id` field for `OwnedTasks`
and `LocalOwnedTasks` lis...

f24b9824e67f833bc78a5a08527cb48a8d053c66 authored over 1 year ago by Hayden Stainsby <[email protected]>
runtime: use `Arc::increment_strong_count` instead of `mem::forget` (#5872)

267a23158151b6b1e78d5d547fa9455217f79b3c authored over 1 year ago by Alice Ryhl <[email protected]>
fs: add `File::options()` (#5869)

05feb2b0bb44623a68ecb9fc139deb8f827a799b authored over 1 year ago by Hyeonu Park <[email protected]>
io: use vec in example for `AsyncReadExt::read_exact` (#5863)

33d6d4f63c080768c4d174c78e8384b73fa0b8db authored over 1 year ago by avdb <[email protected]>
process: fix `raw_arg` not showing up in docs (#5865)

6166e9bcad9953f57db4dabfecfcbfc1743b94f9 authored over 1 year ago by Joris Kleiber <[email protected]>
sync: add `broadcast::Sender::new` (#5824)

e52d56e807af663aa9cbcdb1c2946df87eae29bf authored over 1 year ago by João Marcos <[email protected]>
tokio: reduce LLVM code generation (#5859)

304d14036184c9c65d88706e48dacb57bb172fcc authored over 1 year ago by dullbananas <[email protected]>
runtime: expand on sharing runtime docs (#5858)

91ad76c00c624ed607cf7fa53a6cc40f83f08159 authored over 1 year ago by Alice Ryhl <[email protected]>
util: fix broken intra-doc link (#5849)

74a5a458ea37a862274ce15525d82d4dee0dd3e3 authored over 1 year ago by Marek Kuskowski <[email protected]>
sync: mention lagging in docs for `broadcast::send` (#5820)

0d382faa4e557d0f6e281485cfb14a4934461c41 authored over 1 year ago by João Marcos <[email protected]>
sync: fix import style for `std::error::Error` (#5818)

d8847cf89171e8b7872195724830a276c421f63e authored over 1 year ago by wathen <[email protected]>
test: fetch actions from mock handle before write (#5814)

918cf08a5f6d891a0f9c0bc79ba051ff3ab49d7d authored over 1 year ago by pbrenna <[email protected]>
Speedup CI (#5691)

- Pass `--no-deps` to `cargo-clippy`
- Use `dtolnay/rust-toolchain@stale` instead of
`dtol...

fc69666f8aaa788beaaf091ce6a9abd7b03d5e27 authored over 1 year ago by Jiahao XU <[email protected]>
ci: reenable semver check (#5845)

bb4512eae0dae703f37585582c2b81c83a139dbf authored over 1 year ago by Alice Ryhl <[email protected]>
Merge branch 'tokio-1.29.x' into merge-1.29.x

9dbf1879ee9c5846fe441ac5b0494c88b0f83ee3 authored over 1 year ago by Carl Lerche <[email protected]>
chore: prepare Tokio v1.29.1 release

1b1b9dc7e388d0619fe7bfe6a7618fff596fdee1 authored over 1 year ago by Carl Lerche <[email protected]>
rt: fix nesting block_in_place with block_on (#5837)

This patch fixes a bug where nesting `block_in_place` with a `block_on`
between could lead to a...

012c8484019efb13ecdbbf0e6e76a55fd2dd6ec0 authored over 1 year ago by Carl Lerche <[email protected]>
rt: fix nesting block_in_place with block_on (#5837)

This patch fixes a bug where nesting `block_in_place` with a `block_on`
between could lead to a...

6e990eb2c814d7f327b773714d6ea6982fdd9b9c authored over 1 year ago by Carl Lerche <[email protected]>
io: remove slab in favor of Arc and allocations (#5833)

This patch removes the custom slab in favor of regular allocations an
`Arc`. Originally, the sl...

b573adc733dc4cbff7b125738e2708e2518cca16 authored over 1 year ago by Carl Lerche <[email protected]>
ci: disable tuning tests for cross tests (#5836)

0c7d8d10fbacd1f45f603596b74ed07e630d5313 authored over 1 year ago by Carl Lerche <[email protected]>
io: fix safety of `LinkedList` drain_filter API (#5832)

The `drain_filter` method on the internal `LinkedList` type passes a
`&mut` reference to the no...

ec1f52e1d3ab12308243758d297dedbccac1e262 authored over 1 year ago by Carl Lerche <[email protected]>
sync: handle possibly dangling reference safely (#5812)

1bfe778acb72ca4223cc403fa6b76ef68a872990 authored over 1 year ago by Consoli <[email protected]>
rt: reorganize I/O driver source (#5828)

Moves `Driver` into its own file and eliminates a bunch of code defined
in macros.

ce23db6bc7c6a2853377db629ca8b761a45e0476 authored over 1 year ago by Carl Lerche <[email protected]>
chore: prepare Tokio v1.29.0 release (#5826)

48c55768fd6ae47d1c015b154a0ebd2579688359 authored over 1 year ago by Carl Lerche <[email protected]>
task: add guarantee about when a spawned task may be polled (#5816)

657fd883d2ba5d110b2fd522ce9bd08947e03d7c authored over 1 year ago by Diggory Blake <[email protected]>
fs: wait for in-flight ops before cloning `File` (#5803)

If there is an ongoing operation on a file, wait for that to complete
before performing the clo...

6b076a27437a94f0c0e4d506188bef26c53896ee authored over 1 year ago by Dustin J. Mitchell <[email protected]>
io: fix `futures_io::AsyncSeek` implementaion for `Compat` (#5783)

910a1e2fcf8ebafd41c2841144c3a1037af7dc40 authored over 1 year ago by Dhruv Vats <[email protected]>
fs: update cfg attr in `fs::read_dir` (#5806)

6d25a00145d0dfed10c93eb37704fde88967341c authored over 1 year ago by icedrocket <[email protected]>
sync: replace Poll::Ready with Ready (#5815)

78bf8a9e5e72430274467cebce4cc37096508c18 authored over 1 year ago by wjjiang <[email protected]>
task: add spawn_blocking methods to JoinMap (#5797)

b8af5aad16baec0d2713453aa03db5ff29639010 authored over 1 year ago by tim gretler <[email protected]>
rt: pad the task struct to avoid false sharing (#5809)

This change pads the task struct to avoid false sharing. It is possible
for these structs to ov...

2e62374e4a643015ea9ecf5a1d012c3429eed42f authored over 1 year ago by Carl Lerche <[email protected]>
tokio: improve taskdump documentation (#5805)

- Add example trace output.
- Add note on enabling unstable features.
- Add note on performanc...

56c43655845b109f59a8cdd5d31d36992fc3ecef authored over 1 year ago by Jack Wrenn <[email protected]>
ci: build tokio for redox-os (#5800)

fb0d305a7a78a97f032830c9e07bc932f093e165 authored over 1 year ago by Andrew Mackenzie <[email protected]>
rt(threaded): adjust `transition_from_parked` behavior after introducing `disable_lifo_slot` feature (#5753)

848482d2bb5761cd8fab3ef0dd92b8241e75e3d7 authored over 1 year ago by 盏一 <[email protected]>
net: add support for Redox OS (#5790)

00af6eff77f9fdcf6b4883671cb186b580cddce8 authored over 1 year ago by Andrew Mackenzie <[email protected]>
sync: fix typo in batch semaphore (#5789)

b7290910f7e471f0119ecd717af3a20a2f37fb09 authored over 1 year ago by icedrocket <[email protected]>
chore: upgrade remaining 2018 edition crates to 2021 edition (#5788)

af6c87a045f413f2ce41d89db55663653a2dca67 authored over 1 year ago by Taiki Endo <[email protected]>
ci: update cargo-check-external-types to 0.1.7 (#5786)

6257712d6837fea36e1a201b7df75885b57a3148 authored over 1 year ago by Taiki Endo <[email protected]>
chore: enable cargo v2 resolver to prevent dev-deps from enabling log feature of mio (#5787)

c5d52c17ae800f1d39d7132fd9c452f2fae0e168 authored over 1 year ago by Taiki Endo <[email protected]>
time: do not overflow to signal value (#5710)

2a54ad01d0945c851a093849c83019de69e98dee authored over 1 year ago by Erk <[email protected]>
tokio: improve task dump documentation (#5778)

Adds depth to the taskdump example, and documentation to Handle::dump.

cb18b0a231828a3e65d3f64c6d2744751c6b30ed authored over 1 year ago by Jack Wrenn <[email protected]>
task: add `JoinSet::poll_join_next` (#5721)

7ccd3e0c6d0d1341bee4dd136eef38092e1aad11 authored over 1 year ago by nvartolomei <[email protected]>
task: use pin-project for `TaskLocalFuture` (#5758)

Signed-off-by: Bugen Zhao <[email protected]>

e63d0f10bf614dbd7b85d04a6e01bf8378b5194a authored over 1 year ago by Bugen Zhao <[email protected]>
ci: temporarily disable semver check (#5774)

a2941e48beb7d34ae8ed6dc4618fd3b27ea23547 authored over 1 year ago by Alice Ryhl <[email protected]>
rt: reduce code defined in macros (#5773)

Instead of defining code in macros, move code definition to sub modules
and use the cfg_macro t...

1c8d22c18b4c629c2d5f44b6d599738c2fca8b8a authored over 1 year ago by Carl Lerche <[email protected]>
rt: panic if `EnterGuard` dropped incorrect order (#5772)

Calling `Handle::enter()` returns a `EnterGuard` value, which resets the
thread-local context o...

cbb3c155dd416f6e6a26be5e3b2ebc02853e4b62 authored over 1 year ago by Carl Lerche <[email protected]>
rt: implement task dumps for multi-thread runtime (#5717)

This patch implements task dumps on the multi-thread runtime. It
complements #5608, which imple...

038c4d9999ea39e4c9f8ed3f911c5a3c02ebf574 authored over 1 year ago by Jack Wrenn <[email protected]>
io: support PRIORITY epoll events (#5566)

Add support for epoll priority events. The commit adds `Interest::PRIORITY`, `ready`, and `ready...

7b24b22901f8fc89c1b5f7989d4c2482cd4f288a authored over 1 year ago by Folkert de Vries <[email protected]>
ci: disable tuning test when runing ASAN (#5770)

The tuning test relies on a predictable execution environment. It
assumes that spawning a new t...

779b9c19d5c373d4d89ef3d758cf7469e9941c31 authored over 1 year ago by Carl Lerche <[email protected]>
rt: split `runtime::context` into multiple files (#5768)

This PR restructures `runtime::context` into multiple files by component and feature flag. The g...

1204da730000f2eab19d2c05eea12ee3071b3f31 authored over 1 year ago by Carl Lerche <[email protected]>
rt: `EnterGuard` should not be `Send` (#5766)

Removes `Send` from `EnterGuard` (returned by `Handle::enter()`. The
guard type changes a threa...

e75ca93d30e6d2f7a165882d46d8b55fa3e8cb78 authored over 1 year ago by Carl Lerche <[email protected]>
rt: `Scoped` should not be `Sync` (#5765)

If the `Scoped` type is `Sync`, then you can call `set` from two threads in parallel. Since it a...

15712018da9b13165bb5c5a72c32478c700d578e authored over 1 year ago by Alice Ryhl <[email protected]>
macros: fix diagnostics of last statement (#5762)

076d77c18679e6a7cd36558c3aa06377554d8d20 authored over 1 year ago by icedrocket <[email protected]>
rt: remove dead platform.rs file (#5761)

e2853c1b49a8f3ee5923e7414ac4506a3f11a8f9 authored over 1 year ago by John-John Tedro <[email protected]>
rt: make `CONTEXT` const TLS (#5757)

This makes initializing `Context` const, which lets us use const
thread-locals. The next step w...

8f0103f6c5fd300fee15888fc15ec9dd86248690 authored over 1 year ago by Carl Lerche <[email protected]>
rt(threaded): move inject queue lock to worker (#5754)

This commit is a step towards the ongoing effort to unify the mutex in
the multi-threaded sched...

fb4d43017d6cb7b7cbdfbe5fc189bca0291ff215 authored over 1 year ago by Carl Lerche <[email protected]>
ci: fix spurious CI failure (#5752)

PR #5720 introduced runtime self-tuning. It included a test that
attempts to verify self-tuning...

1e14ef00939f62f31a00bbef260d82185171c6d5 authored over 1 year ago by Carl Lerche <[email protected]>
rt: move Inject to `runtime::scheduler` (#5748)

Previously, `Inject` was defined in `runtime::task`. This was because it
used some internal fns...

a8b6353535ffa08fc84aee93d315ec4df088c2c2 authored over 1 year ago by Carl Lerche <[email protected]>
rt: move deferred task list to scheduler (#5741)

Previously, the deferred task list (list of tasks that yielded and are
waiting to be woken) was...

c748f4965eae883a2291945116d84cab5d657100 authored over 1 year ago by Carl Lerche <[email protected]>
rt: start work to unify MT scheduler mutexes (#5747)

In order to reduce the number of mutex operations in the multi-threaded
scheduler hot path, we ...

a96dab1089bf7893391c9222f89e58c1b1e85fe5 authored over 1 year ago by Carl Lerche <[email protected]>
rt(threaded): basic self-tuning of injection queue (#5720)

Each multi-threaded runtime worker prioritizes pulling tasks off of its
local queue. Every so o...

79a7e78c0d4ea5f36d74a773b9023df7d6022b27 authored over 1 year ago by Carl Lerche <[email protected]>
io: add `AsyncRead`/`AsyncWrite` passthrough for `Inspect` (#5739)

7c12e41d078d08311847f33653a21639e200db61 authored over 1 year ago by Chris Constantine <[email protected]>