Registry / async / smolscale

smolscale

JSON →
library0.4.16rscratesunverified

A high-performance async-task scheduler for Rust, designed for efficient concurrency.

# Cargo.toml [dependencies] smolscale = "0.4.16"
INSTALL
IMPORT
SIG · SMOLSCALE
S
smolscale
asyncrustv0.4.16
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.

block_on
use smolscale::block_on;

Runs an async task using smolscale's block_on.

use smolscale::block_on; fn main() { block_on(async { println!("Hello from smolscale!"); }); }
Debug
Known issues
gotchaRequires an async runtime (smolscale provides its own, but mixing with tokio may cause issues).
fix
Use only smolscale's runtime or ensure compatibility with other runtimes via feature flags.
affects: >=0.4.0
Upgrade
Version history
0.4.16latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
smolscale — cargo add smolscale · libregistry