Base58 implement in Rust.
Add dependencies
[dependencies]
basex-rs = "0.1.1"
```rust //decode extern crate basexrs; use basexrs::{BaseX, Decode, BITCOIN};
let src = "jkuzA".tostring(); let decoded = BaseX::new(BITCOIN).decode(src); asserteq!(decoded, Some(vec![28, 215, 33, 155])); ```
```rust //encode extern crate basexrs; use basexrs::{BaseX, Encode, BITCOIN};
let src = vec![28, 215, 33, 155]; let encoded = BaseX::new(BITCOIN).encode(&src); asserteq!(encoded, "jkuzA".tostring()); ```