Skip to content

reugn/rspark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rspark ▁▂▆▇▁▄█▁

Build Crate

Sparklines library for Rust applications.
A Rust port of spark.

Usage

Add rspark to your Cargo.toml:

[dependencies]
rspark = "0.2.0"

Example:

let v = vec![2, 250, 670, 890, 2, 430, 11, 908, 123, 57];
let res = rspark::render(&v).unwrap();
assert_eq!("▁▂▆▇▁▄▁█▁▁", res);

License

MIT