bauxite 0.1.0

Wrap a string in a box for more aesthetic output to a console
Documentation
  • Coverage
  • 66.67%
    10 out of 15 items documented1 out of 13 items with examples
  • Size
  • Source code size: 20.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.62 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Doxterpepper/Bauxite
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Doxterpepper

Bauxite Build Status

Wrap a string in a box for more aesthetic output to a console

Usage

To use Bauxite add bauxite as a dependency in your Cargo.toml.

[dependencies]
bauxite = { git = "https://github.com/Doxterpepper/Bauxite" }

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);
}

alt text