Before committing an update:
- The code must have no warning with clippy, use the command:
clippy
- The code must be cleaned with cargo fmt, run the command:
cargo fmt
[dependencies]
anilist = { git = "https://github.com/Asthowen/rust-anilist", version = "0.0.2" }
let anilist_client = AniListClientBuilder::builder()
.with_initialized_reqwest_client()
.with_anilist_token("some")
.build()?;
anilist_client.set_progress(67, 139741, "access token").await;
anilist_client.set_increment_progress(1, 67, 139741, "access token").await;
Thanks to AndrielFR for the models: https://github.com/AndrielFR/rust-anilist