From 0d3fde7d471ffd6bb958a44cff8b49f2ac33beed Mon Sep 17 00:00:00 2001 From: blank X Date: Sun, 14 Mar 2021 15:50:34 +0700 Subject: [PATCH] Don't show chapters with empty chapter numbers and bump tokio version --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/utils.rs | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3c46f03..3b8bee4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "mangadexrs" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clap", "quick-xml", diff --git a/Cargo.toml b/Cargo.toml index 85da373..ef16757 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mangadexrs" -version = "0.1.0" +version = "0.2.0" authors = ["blank X "] edition = "2018" @@ -10,7 +10,7 @@ edition = "2018" lto = true [dependencies] -tokio = { version = "1.1", features = ["rt-multi-thread"] } +tokio = { version = "1.2", features = ["rt-multi-thread"] } reqwest = "0.11" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/src/utils.rs b/src/utils.rs index c6a3081..acb3eab 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -17,7 +17,9 @@ pub async fn get_manga(client: reqwest::Client, id: i32) -> Result Result, structs::Error> {