Refactor: Use workspace dependencies
This commit is contained in:
parent
6ca5720a62
commit
a3d29d3d84
1 changed files with 19 additions and 19 deletions
38
Cargo.toml
38
Cargo.toml
|
|
@ -10,33 +10,33 @@ categories = ["gui", "network-programming"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Core from botlib
|
# Core from botlib
|
||||||
botlib = { path = "../botlib", features = ["http-client"] }
|
botlib = { workspace = true, features = ["http-client"] }
|
||||||
|
|
||||||
# Tauri
|
# Tauri
|
||||||
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 }
|
||||||
|
|
||||||
# Common
|
# Common
|
||||||
anyhow = "1.0"
|
anyhow = { workspace = true }
|
||||||
chrono = { version = "0.4", features = ["serde"] }
|
chrono = { workspace = true, features = ["serde"] }
|
||||||
dirs = "6.0"
|
dirs = { workspace = true }
|
||||||
log = "0.4"
|
log = { 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 = ["full"] }
|
tokio = { workspace = true, features = ["full"] }
|
||||||
reqwest = { version = "0.12", features = ["json"] }
|
reqwest = { workspace = true, features = ["json"] }
|
||||||
|
|
||||||
# Unix process control
|
# Unix process control
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc = { workspace = true }
|
||||||
ksni = { version = "0.2", optional = true }
|
ksni = { workspace = true, optional = true }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
trayicon = { version = "0.2", optional = true }
|
trayicon = { workspace = true, optional = true }
|
||||||
image = "0.25"
|
image = { workspace = true }
|
||||||
thiserror = "2.0"
|
thiserror = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["desktop"]
|
default = ["desktop"]
|
||||||
|
|
@ -44,7 +44,7 @@ desktop = []
|
||||||
desktop-tray = ["dep:ksni", "dep:trayicon"]
|
desktop-tray = ["dep:ksni", "dep:trayicon"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = "2"
|
tauri-build = { workspace = true }
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue