This is crate xch-ceb's official lib.
libxch on crates.io
libxch's documentation
Swift, Small, Safe.
First of all, you should pick a version.
At this time (2018.11), add following dependency to your Cargo.toml
:
[dependencies]
lib_xch = "^0.11"
For more information, please read the source code of xch-ceb ```rust extern crate lib_xch;
use libxch::api::handler::handlerapi; use std::io;
fn main() {
let equation = input();
match handler_api::
// other functions fn input() -> String { println!("[INPUT] Input the equation:"); let mut equation = String::new(); io::stdin() .read_line(&mut equation) .expect("[ERROR] Failed to read line!"); equation.pop(); equation }
```
Licensed under GPL-3.0