68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
[package]
|
|
name = "botapp"
|
|
version = "6.1.0"
|
|
edition = "2021"
|
|
description = "General Bots App - Tauri wrapper for desktop/mobile"
|
|
license = "AGPL-3.0"
|
|
repository = "https://github.com/GeneralBots/BotServer"
|
|
keywords = ["bot", "ai", "chatbot", "tauri", "desktop"]
|
|
categories = ["gui", "network-programming"]
|
|
|
|
[dependencies]
|
|
# Core from botlib
|
|
botlib = { path = "../botlib", features = ["http-client"] }
|
|
|
|
# Tauri
|
|
tauri = { version = "2", features = ["unstable"] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-opener = "2"
|
|
|
|
# Common
|
|
anyhow = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
dirs = "6.0"
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.41", features = ["full"] }
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
|
|
# Unix process control
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
ksni = { version = "0.2", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
trayicon = { version = "0.2", optional = true }
|
|
image = "0.25"
|
|
thiserror = "2.0"
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
desktop = []
|
|
desktop-tray = ["dep:ksni", "dep:trayicon"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = "2"
|
|
|
|
[lints.rust]
|
|
unused_imports = "warn"
|
|
unused_variables = "warn"
|
|
unused_mut = "warn"
|
|
unsafe_code = "deny"
|
|
missing_debug_implementations = "warn"
|
|
|
|
[lints.clippy]
|
|
all = "warn"
|
|
pedantic = "warn"
|
|
nursery = "warn"
|
|
cargo = "warn"
|
|
unwrap_used = "warn"
|
|
expect_used = "warn"
|
|
panic = "warn"
|
|
todo = "warn"
|
|
# Disabled: Tauri commands require owned types (Window) that cannot be passed by reference
|
|
needless_pass_by_value = "allow"
|
|
# Disabled: transitive dependencies we cannot control
|
|
multiple_crate_versions = "allow"
|