Files
dbx/src-tauri/Cargo.toml
T
2026-10-19 09:13:36 +08:00

107 lines
4.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "dbx"
version = "0.6.48"
description = "Open-source database management tool"
authors = ["skyler"]
license = "Apache-2.0"
repository = ""
edition = "2021"
rust-version = "1.88.0"
[lib]
name = "dbx_lib"
crate-type = ["rlib"]
[features]
default = ["duckdb-sidecar", "dynamodb", "mq-admin", "sqlite-multiple-ciphers", "system-fonts", "os-keyring", "sqlserver-native-attention"]
custom-protocol = ["tauri/custom-protocol"]
duckdb-sidecar = ["dbx-core/duckdb-sidecar"]
os-keyring = ["dbx-core/os-keyring"]
sqlserver-native-attention = ["dbx-core/sqlserver-native-attention"]
dynamodb = ["dbx-core/dynamodb"]
mq-admin = ["dbx-core/mq-admin"]
sqlite-sqlcipher = ["dbx-core/sqlite-sqlcipher"]
sqlite-multiple-ciphers = ["dbx-core/sqlite-multiple-ciphers"]
sqlite-bundled = ["dbx-core/sqlite-bundled"]
system-fonts = ["dbx-core/system-fonts"]
[build-dependencies]
tauri-build = { version = "2.5.6", features = [] }
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3"
serde_yaml_ng = "0.10"
base64 = "0.22"
log = "0.4"
tauri = { version = "2.10.3", features = ["tray-icon", "image-png"] }
tauri-plugin-log = "2"
tauri-plugin-opener = "2"
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "with-uuid-1", "with-serde_json-1"] }
deadpool-postgres = { version = "0.14", features = ["rt_tokio_1"] }
rust_decimal = { version = "1", features = ["serde", "db-postgres"] }
tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["v4", "serde"] }
anyhow = "1"
chrono = { version = "0.4", features = ["serde"] }
tauri-plugin-deep-link = "2"
tauri-plugin-dialog = "2.7.0"
tauri-plugin-fs = "2.5.0"
tauri-plugin-single-instance = "2.4.2"
tauri-plugin-shell = "2"
tauri-plugin-updater = "=2.10.1"
tauri-plugin-process = "2"
tauri-plugin-window-state = "2"
redis = { version = "1.7.1", features = ["tokio-comp", "tls-rustls", "tokio-rustls-comp", "cluster-async"] }
rustls = { version = "0.23", features = ["aws-lc-rs"] }
portpicker = "0.1.1"
tiberius = { version = "0.12.3", default-features = false, features = ["tds73", "chrono", "rust_decimal", "rustls", "sql-browser-tokio"] }
tokio-util = { version = "0.7", features = ["compat"] }
reqwest = { version = "0.12", features = ["json", "stream"] }
regex = "1"
grep = "0.3"
ignore = "0.4"
futures = "0.3"
mongodb = { version = "3.2.5", features = ["socks5-proxy"] }
percent-encoding = "2"
minisign-verify = "0.2.5"
semver = "1"
sha2 = "0.10"
russh = "0.60"
csv = "1.4.0"
calamine = "0.30.1"
zip = "4.6.1"
dbx-core = { path = "../crates/dbx-core", default-features = false }
dbx-mcp = { path = "../crates/dbx-mcp", default-features = false, features = ["duckdb-sidecar", "mq-admin"] }
dbx-tauri-consul = { path = "../crates/dbx-tauri-consul" }
dbx-tauri-schema = { path = "../crates/dbx-tauri-schema" }
wry = { path = "../vendor/wry" }
axum = { version = "0.8", features = ["ws"] }
font-kit = "0.14.3"
tauri-plugin-clipboard-manager = "2.3.2"
sys-locale = "0.3"
sysinfo = { version = "0.32", features = ["system"] }
[dev-dependencies]
dbx-core = { path = "../crates/dbx-core", default-features = false, features = ["test-support"] }
tauri = { version = "2.10.3", features = ["test"] }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = { version = "0.6.4", default-features = false, features = ["std"] }
objc2-app-kit = { version = "0.3.2", default-features = false, features = ["NSApplication", "NSButton", "NSControl", "NSDockTile", "NSEvent", "NSImage", "NSResponder", "NSView", "NSWindow", "NSWorkspace"] }
objc2-foundation = { version = "0.3.2", default-features = false, features = ["NSBundle", "NSData", "NSString"] }
[target.'cfg(target_os = "linux")'.dependencies]
libloading = "0.8"
gtk = "0.18"
[target.'cfg(target_os = "windows")'.dependencies]
# 与 vendored wry / tauri-runtime-wry 同版本(Cargo.lock 只有一份 0.38.x),用于在
# 快捷键录入态运行时切换 WebView2 的浏览器加速键开关(见 commands/shortcut_recording.rs)。
webview2-com = "0.38"
# `cast`(Settings → Settings3 的 QueryInterface)来自 windows-core 的 Interface trait,
# 版本与 vendored wry / webview2-com-sys 一致。
windows-core = "0.61"
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_Threading", "Win32_UI_WindowsAndMessaging"] }