Registry / async / actix-rt

actix-rt

JSON →
library2.11.0rscratesunverified

Tokio-based single-threaded async runtime for the Actix ecosystem.

# Cargo.toml [dependencies] actix-rt = "2.11.0"
INSTALL
IMPORT
SIG · ACTIX-RT
A
actix-rt
asyncrustv2.11.0
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.

System
use actix_rt::System;

Run an async block on the Actix runtime.

use actix_rt::System; let sys = System::new(); sys.block_on(async { println!("Hello from Actix runtime"); });
Debug
Known issues
gotchaSingle-threaded runtime; not suitable for CPU-bound tasks.
fix
Use `actix_rt::Arbiter` for multi-threading if needed.
affects: >=2.0.0
Upgrade
Version history
2.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
44
Resources
actix-rt — cargo add actix-rt · libregistry