Browse Source

[Build] Deps versions bump

Slava Barinov 2 năm trước cách đây
mục cha
commit
ebdb18b5ce
3 tập tin đã thay đổi với 183 bổ sung212 xóa
  1. 180 206
      Cargo.lock
  2. 1 1
      src/main.rs
  3. 2 5
      src/telegram.rs

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 180 - 206
Cargo.lock


+ 1 - 1
src/main.rs

@@ -68,7 +68,7 @@ fn perekrestok_filter(line: &str) -> &str {
     numfilter(
         line.trim_start()
             .trim_start_matches(char::is_numeric)
-            .trim_start_matches(&['*', ':']),
+            .trim_start_matches(&['*', ':', ' ']),
     )
 }
 

+ 2 - 5
src/telegram.rs

@@ -280,11 +280,8 @@ async fn handle_json(
         bot.send_message(msg.chat.id, format!("New file received!!!111 {}", file_id))
             .await?;
     } else {
-        bot.send_message(
-            msg.chat.id,
-            format!("Not supported file sent"),
-        )
-        .await?;
+        bot.send_message(msg.chat.id, format!("Not supported file sent"))
+            .await?;
     }
 
     if let Ok(newfile) = download_file(&bot, &file_id).await {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác