The runestick time package.
Add the following to your Cargo.toml
:
toml
runestick = "0.2"
runestick-time = "0.2"
Install it into your context:
rust
let mut context = runestick::Context::with_default_packages()?;
context.install(runestick_time::module()?)?;
Use it in Rune:
```rust use time;
fn main() { time::delayfor(time::Duration::fromsecs(10)).await; } ```