indt
.
Usage
Clone repository
git clone https://github.com/Ususucsus/indt-rs
and add dependency in your Cargo.toml
file
indt = { path = "../indt-rs" }
Create Indent
instance
let stdout = &mut std::io::stdout();
let indt = indt::Indent(stdout);
make indention bigger
indt.more()
and write something
write!(indt, "Hello, {}", 42);
Other
To see full documentation
cargo doc --open
To test
cargo test
This is not meant to be used somewhere. Instead, use something well-tested like indented