alist_rs 0.0.3

A Rust client library for interacting with the Alist API.
Documentation
1
2
3
4
5
6
7
8
9
10
use alist_rs::client::Client;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let mut client = Client::new("https://alist.example.com".to_string());
    client.login("username", "password").await?;
    let info = client.me().await?;
    println!("{:?}", info);
    Ok(())
}