mitoo 0.3.0

mitoo is a Rust toolkit library that encapsulates methods such as configuration reading, file operations, encryption and decryption, transcoding, regular expressions, threading, collections, trees, sqlite, rabbitMQ, etc., and customizes or integrates various Util tool classes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// use std::time::Duration;
// use mitoo::RabbitMQUtil;


#[tokio::main]
async fn main() {
    // // https://github.com/gftea/amqprs/blob/main/examples/src/basic_pub_sub.rs
    // let util = RabbitMQUtil::new("192.168.1.187", 5672, "guest", "guest").await;
    // util.consume("hello", |basic_properties, content| async move {
    //     println!("===============>{}", String::from_utf8(content).unwrap());
    //     println!("===============>{:?}", basic_properties);
    // }).await;
    // tokio::time::sleep(Duration::from_secs(15)).await;
}