dreams

Crates.iodreams
lib.rsdreams
version0.0.1
sourcesrc
created_at2023-07-23 12:32:03.704214
updated_at2023-07-23 12:32:03.704214
descriptionweb, fs, sql
homepage
repository
max_upload_size
id923721
size114,986
Karl (blueteary)

documentation

README

Example

File System

use iofs::prelude::*;

fn main() -> std::io::Result<()> {
    let mut f = FileInfo::open_smart("foo.txt")?;
    f.rename("new_name")?;
    assert!(f.name(), "new_name.txt");
    Ok(())
}

IO

use iofs::io::Console;  
fn main() -> stools::io::Result<()> {  
	let mut console = Console::new();  
	let n = console.input::<i32>(Some("input a number: "))?;  
	Ok(())  
}
Commit count: 0

cargo fmt