Explorar el Código

[Build] Deps versions bump

Slava Barinov hace 2 años
padre
commit
ebdb18b5ce
Se han modificado 3 ficheros con 183 adiciones y 212 borrados
  1. 180 206
      Cargo.lock
  2. 1 1
      src/main.rs
  3. 2 5
      src/telegram.rs

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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 {

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio