```rust use iofs::prelude::*;
fn main() -> std::io::Result<()> { let mut f = FileInfo::opensmart("foo.txt")?; f.rename("newname")?; assert!(f.name(), "new_name.txt"); Ok(()) }
```
rust
use iofs::io::Console;
fn main() -> stools::io::Result<()> {
let mut console = Console::new();
let n = console.input::<i32>(Some("input a number: "))?;
Ok(())
}