Skip to main content

Crate rusty_harness

Crate rusty_harness 

Source
Expand description

rusty_harness — a tiny agent harness that’s blazing fast.

The crate is async by default and runtime-agnostic: public APIs are async fns that return plain futures, so you drive them with whichever executor you already use. Anything that needs a runtime (spawning, timers) goes through the Runtime trait, implemented behind the rt-tokio and rt-wasm features.

let greeting = rusty_harness::hello().await;
assert_eq!(greeting, "Hello from rusty-harness!");

Re-exports§

pub use runtime::MaybeSend;
pub use runtime::Runtime;

Modules§

runtime
The runtime seam.

Functions§

hello
Returns a greeting from the harness.