#client #server #version #session #qq #bot #mirai-api-http

mirai_rs

mirai-rs is a mirai-api-http client implementation written in Rust

2 releases

0.1.1 May 14, 2020
0.1.0 May 2, 2020

#550 in HTTP client

GPL-3.0 license

39KB
917 lines

mirai-rs

CircleCI crates

A mirai-client implemented in Rust.


Usage

Add following code in your Cargo.toml.

mirai_rs = "0.1.1"

The newest version is: crates.

The mirai-api-http version which current supports: 1.7.0

mirai_rs is still unstable, so we recommend you use the newest version that avoid some bugs (and get more new bugs).

More information


lib.rs:

mirai is a protocol library for Tencent QQ, you can use it to write a QQ Bot or other thing.

mirai-rs is a library that base on mirai-api-http server, you may should set up a mirai-api-http server first.

First, you need to make a connection to the server, please see: [mod session].

After authorization and verification, you can use [mod message] to receive and send messages.

Have a good time!

Dependencies

~7–11MB
~202K SLoC