From c942459da8fd64d92059f312a86f235c205eea28 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 7 Nov 2022 16:17:42 +0400 Subject: [PATCH] Replace `git` dependencies with `path` --- crates/teloxide-macros/Cargo.toml | 2 +- crates/teloxide/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/teloxide-macros/Cargo.toml b/crates/teloxide-macros/Cargo.toml index e2cb3d1c..9ac9b1f8 100644 --- a/crates/teloxide-macros/Cargo.toml +++ b/crates/teloxide-macros/Cargo.toml @@ -18,4 +18,4 @@ heck = "0.4.0" [dev-dependencies] # XXX: Do not enable `macros` feature -teloxide = { git = "https://github.com/teloxide/teloxide.git", rev = "b5e237a8a22f9f987b6e4245b9b6c3ca1f804c19" } +teloxide = { path = "../teloxide" } diff --git a/crates/teloxide/Cargo.toml b/crates/teloxide/Cargo.toml index f4056c49..0317e89e 100644 --- a/crates/teloxide/Cargo.toml +++ b/crates/teloxide/Cargo.toml @@ -68,8 +68,8 @@ serde = { version = "1.0", features = ["derive"] } dptree = "0.3.0" # These lines are used only for development. -# teloxide-core = { git = "https://github.com/teloxide/teloxide-core", rev = "00165e6", default-features = false } -# teloxide-macros = { git = "https://github.com/teloxide/teloxide-macros", rev = "e715105", optional = true } +# teloxide-core = { path = "../teloxide-core", default-features = false } +# teloxide-macros = { path = "../teloxide-macros", optional = true } # dptree = { git = "https://github.com/teloxide/dptree", rev = "df578e4" } tokio = { version = "1.8", features = ["fs"] }