rskit
rust kit
cache
You can use cache to store data and support multi-threaded sharing.
let cache = new;
cache.set;
let name = cache..unwrap;
println!;
str
- string to base64
let s = "hello world";
let res = atob.unwrap;
println!;
- base64 to string
let s = "hello world";
let ss = atob.unwrap;
let res = btoa.unwrap;
println!;
lib
- fast_log
.init.unwrap;
println!;
default
- config
let mut config = new;
let settings = config.init.unwrap;
println!;
serde
- to_bin
- from_bin
- to_json
- from_json
hash
- sha_256
- sha_512
- hash_256
- hash_512