From ce00b5f97e22c110065ab7ff90d7b8bb1c2731bd Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Thu, 31 Aug 2023 22:01:30 +0200 Subject: [PATCH] Use teloxide from github --- Cargo.lock | 9 +++------ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8933c99..db0ba51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1985,8 +1985,7 @@ checksum = "20f34339676cdcab560c9a82300c4c2581f68b9369aedf0fae86f2ff9565ff3e" [[package]] name = "teloxide" version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c63345cf32a8850ebddcdd769dc2d5193d5e231262d5dada264b79da01a664da" +source = "git+https://github.com/teloxide/teloxide.git?branch=master#f0ce8b6a29b748e42ed3ccad3c318006ce6997fd" dependencies = [ "aquamarine", "axum", @@ -2015,8 +2014,7 @@ dependencies = [ [[package]] name = "teloxide-core" version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "303db260110c238e3af77bb9dff18bf7a5b5196f783059b0852aab75f91d5a16" +source = "git+https://github.com/teloxide/teloxide.git?branch=master#f0ce8b6a29b748e42ed3ccad3c318006ce6997fd" dependencies = [ "bitflags 1.3.2", "bytes", @@ -2047,8 +2045,7 @@ dependencies = [ [[package]] name = "teloxide-macros" version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1d653b093dba5e44cada57a516f572167df37b8a619443e59c8c517bb6d804" +source = "git+https://github.com/teloxide/teloxide.git?branch=master#f0ce8b6a29b748e42ed3ccad3c318006ce6997fd" dependencies = [ "heck", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 06df685..bdce19a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros"] } reqwest = { version = "0.11.20", features = ["json"] } serde = { version = "1.0.186", features = ["derive"] } serde_json = "1.0.105" -teloxide = { version = "0.12.2", features = ["macros", "webhooks-axum", "cache-me", "throttle"] } +teloxide = { git = "https://github.com/teloxide/teloxide.git", branch="master", features = ["macros", "webhooks-axum", "cache-me", "throttle"] } url = "2.4.0" ctrlc = { version = "3.4.0", features = ["termination"] } strum = "0.25.0"