Registry / async / agnostic-lite

agnostic-lite

JSON →
library0.6.1rscratesunverified

An agnostic abstraction layer for any async runtime, allowing code to be runtime-agnostic.

# Cargo.toml [dependencies] agnostic-lite = "0.6.1"
INSTALL
IMPORT
SIG · AGNOSTIC-LITE
A
agnostic-lite
asyncrustv0.6.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 agnostic_lite::Runtime;

Imports the Runtime trait for async runtime abstraction.

use agnostic_lite::Runtime; fn main() { // Runtime is a trait; implement for your async runtime println!("Agnostic runtime trait ready"); }
Debug
Known issues
gotchaRequires implementing the Runtime trait for your specific async runtime
fix
Implement the trait for tokio, async-std, etc.
affects: >=0.6.0
Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
40
Meta
1
Resources
agnostic-lite — cargo add agnostic-lite · libregistry