Skip to content

Doxterpepper/Bauxite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

alt text

About

Wrap terminal output with a box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages