#tokio #applications #abscissa #run-time #launching #component #within


Support for launching Tokio runtimes within Abscissa applications

10 releases

0.7.0 Dec 14, 2022
0.6.0 Feb 11, 2022
0.6.0-rc.0 Jan 4, 2022
0.6.0-pre.3 Oct 6, 2021
0.0.0 Jul 18, 2019

#1 in #abscissa

Download history 1/week @ 2023-12-04 131/week @ 2023-12-11 14/week @ 2023-12-18 5/week @ 2023-12-25 37/week @ 2024-01-01 48/week @ 2024-01-08 29/week @ 2024-01-15 55/week @ 2024-01-22 62/week @ 2024-01-29 110/week @ 2024-02-05 22/week @ 2024-02-12 126/week @ 2024-02-19 105/week @ 2024-02-26 61/week @ 2024-03-04 122/week @ 2024-03-11 41/week @ 2024-03-18

330 downloads per month
Used in 5 crates




abscissa_tokio: Tokio component for Abscissa

Crate Docs Apache 2.0 Licensed Build Status

Support for launching Tokio runtimes within Abscissa applications.



Where normally you'd use something like the tokio::main macro to launch the Tokio runtime, in Abscissa the framework is launched by calling abscissa_core::boot from your application's main().

This means Abscissa applications need a slightly different convention for starting the Tokio runtime, and ideally one which allows all application subcomponents to register themselves before the runtime is started.

This crate handles instantiating the Tokio runtime as an Abscissa Component, allowing other application components to express they have a Tokio dependency so Abscissa can inject the Tokio component as a dependency.

Once the application has booted and all subcomponents have been registered with the Tokio runtime, it allows (any of) your application's Runnable types to start the runtime without having to hold a lock on application state.

See documentation for usage instructions.


The abscissa_tokio crate is distributed under the terms of the Apache License (Version 2.0).

Copyright © 2020 iqlusion

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


~202K SLoC