Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

refactor: update Cargo.toml for omniget-plugin-telegram with new dependencies and library configuration

Tonho7c9ec9cf3590
diff --git a/src-tauri/omniget-plugin-telegram/Cargo.toml b/src-tauri/omniget-plugin-telegram/Cargo.toml
index ed4a0022..985e142c 100644
--- a/src-tauri/omniget-plugin-telegram/Cargo.toml
+++ b/src-tauri/omniget-plugin-telegram/Cargo.toml
@@ -3,15 +3,16 @@ name = "omniget-plugin-telegram"
version = "0.1.0"
edition = "2021"
+[lib]
+crate-type = ["cdylib", "rlib"]
+
[dependencies]
-tauri = { version = "2", features = [] }
-tauri-plugin-store = "2"
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
+async-trait = "0.1"
anyhow = "1"
tracing = "0.1"
-async-trait = "0.1"
tokio-util = { version = "0.7", features = ["rt"] }
base64 = "0.22.1"
grammers-client = "0.8"
@@ -26,3 +27,4 @@ filetime = "0.2.27"
os_info = "3"
sys-locale = "0.3"
omniget-core = { path = "../omniget-core", features = ["desktop"] }
+omniget-plugin-sdk = { path = "../omniget-plugin-sdk" }