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 (2019.1), add following dependency to your Cargo.toml
:
[dependencies]
lib_xch = "^0.12"
For more information, please read the source code of xch-ceb ```rust use lib_xch::public::{handler::Handler, structs::ChemicalEquation}; use std::io;
fn main() {
printaboutinfo();
let equ = input();
match Handler::
fn input() -> String { println!("[INPUT] Input the equation:"); let mut equ = String::new(); io::stdin() .read_line(&mut equation) .expect("[ERROR] Failed to read line!"); equ.pop(); equ }
```
Licensed under GPL-3.0