4 个版本
0.1.6 | 2022 年 2 月 13 日 |
---|---|
0.1.5 | 2022 年 1 月 16 日 |
0.1.4 | 2021 年 9 月 30 日 |
0.1.3 | 2021 年 8 月 19 日 |
0.1.2 |
|
#49 in #bug
每月 23 次下载
23KB
566 代码行
QA-RustClient
这是对 QuartzAuth API 的客户端的 Rust 实现。
注意,由于这是在我刚开始学习 Rust 时编写的,因此这段代码可能包含许多非惯用代码。将来我会花时间来改进。
欢迎提交任何发现的错误修复的拉取请求!
如果您有任何问题,请加入我们的 discord 服务器
示例
use qauth::client::Client;
fn main() {
let client = Client::new(
String::from("ProgramKey"),
String::from("VariableKey"),
String::from("0.0.1"),
);
let client = client.unwrap();
let resp = client.login(String::from("username"), String::from("password"));
}
依赖项
~5–36MB
~540K SLoC