Registry / async / ckb-async-runtime

ckb-async-runtime

JSON →
library1.1.1rscratesunverified

Utilities for managing Tokio runtime instances, used in the CKB blockchain project.

# Cargo.toml [dependencies] ckb-async-runtime = "1.1.1"
INSTALL
IMPORT
SIG · CKB-ASYNC-RUNTIME
C
ckb-async-runtime
asyncrustv1.1.1
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.

Runtime
use ckb_async_runtime::Runtime;

Create and use a Tokio-based runtime.

use ckb_async_runtime::Runtime; fn main() { let rt = Runtime::new().unwrap(); rt.block_on(async { println!("Hello from CKB async runtime!"); }); }
Debug
Known issues
gotchaThis crate is tightly coupled to CKB internals; may not be suitable for general use.
fix
Consider using tokio directly for non-CKB projects.
affects: >=1.0.0
Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
OpenAI (training)
1
Resources
ckb-async-runtime — cargo add ckb-async-runtime · libregistry