Refactor: Use workspace dependencies

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-01-23 09:37:40 -03:00
parent a3add8ada3
commit 3cfd8860ca

View file

@ -1,6 +1,6 @@
[package] [package]
name = "botdevice" name = "botdevice"
version = "1.0.0" version = "6.1.0"
edition = "2021" edition = "2021"
description = "BotDevice - Android, HarmonyOS & IoT powered by General Bots" description = "BotDevice - Android, HarmonyOS & IoT powered by General Bots"
license = "AGPL-3.0" license = "AGPL-3.0"
@ -14,29 +14,29 @@ crate-type = ["staticlib", "cdylib", "rlib"]
[dependencies] [dependencies]
# Core from botlib # Core from botlib
botlib = { path = "../botlib", features = ["http-client"] } botlib = { workspace = true, features = ["http-client"] }
# Tauri with mobile features # Tauri with mobile features
tauri = { version = "2", features = ["unstable"] } tauri = { workspace = true }
tauri-plugin-dialog = "2" tauri-plugin-dialog = { workspace = true }
tauri-plugin-opener = "2" tauri-plugin-opener = { workspace = true }
tauri-plugin-notification = "2" tauri-plugin-notification = { workspace = true }
tauri-plugin-http = "2" tauri-plugin-http = { workspace = true }
tauri-plugin-geolocation = "2" tauri-plugin-geolocation = { workspace = true }
# Common # Common
anyhow = "1.0" anyhow = { workspace = true }
chrono = { version = "0.4", features = ["serde"] } chrono = { workspace = true, features = ["serde"] }
log = "0.4" log = { workspace = true }
android_logger = "0.14" android_logger = { workspace = true }
env_logger = "0.11" env_logger = { workspace = true }
serde = { version = "1.0", features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_json = "1.0" serde_json = { workspace = true }
tokio = { version = "1.41", features = ["rt-multi-thread", "macros"] } tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
reqwest = { version = "0.12", features = ["json"] } reqwest = { workspace = true, features = ["json"] }
[build-dependencies] [build-dependencies]
tauri-build = { version = "2", features = ["codegen"] } tauri-build = { workspace = true, features = ["codegen"] }
[features] [features]
default = ["custom-protocol"] default = ["custom-protocol"]