Module rune_modules::io

source ·
Expand description

std::io module for the Rune Language.

Usage

Add the following to your Cargo.toml:

rune-modules = { version = "0.12.2", features = ["io"] }

Install it into your context:

let mut context = rune::Context::with_default_modules()?;
context.install(&rune_modules::io::module(true)?)?;

Functions

  • Construct the supplemental std::io module.