Wrap a string in a box for more aesthetic output to a console
To use Bauxite add bauxite
as a dependency in your Cargo.toml
.
[dependencies]
bauxite = 0.1.0
Then in your source code
extern crate bauxite;
fn main() {
let my_message = "Only those who leisurely approach that which the masses are busy about\n\
can be busy about that which the masses take leisurely.\n\
-- Lao Tsu";
println!("{}", bauxite::BoxBuilder::from(my_message);
}