Registry / async / tokio-core

tokio-core

JSON →
library0.1.18rscratesunverified

Core I/O and event loop primitives for asynchronous I/O in Rust, foundation for the rest of the tokio crates.

# Cargo.toml [dependencies] tokio-core = "0.1.18"
INSTALL
IMPORT
SIG · TOKIO-CORE
T
tokio-core
asyncrustv0.1.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Core
use tokio_core::reactor::Core;

Creates a Tokio event loop core.

use tokio_core::reactor::Core; fn main() { let mut core = Core::new().unwrap(); println!("Event loop created"); }
Debug
Known issues
breakingDeprecated in favor of tokio 0.2+; use `tokio::runtime` instead.
fix
Migrate to `tokio` crate with `tokio::runtime::Runtime`.
affects: >=0.2.0
Upgrade
Version history
0.1.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
tokio-core — cargo add tokio-core · libregistry