Files
navop/Cargo.toml
T

239 lines
7.3 KiB
TOML

[workspace]
default-members = ["crates/ui", "crates/story", "crates/assets", "main"]
members = [
"crates/macros",
"crates/story",
"crates/ui",
"crates/assets",
"crates/webview",
"crates/reqwest_client",
"examples/app_assets",
"examples/hello_world",
"examples/input",
"examples/window_title",
"examples/dialog_overlay",
"examples/webview",
"examples/system_monitor",
"examples/focus_trap",
"crates/db",
"crates/db_view",
"crates/extension-runtime",
"crates/extension_view",
"crates/extension-protocol",
"crates/extension-host",
"crates/extension-driver",
"crates/extension-api",
"crates/extension-component",
"crates/extension-wasm",
"crates/er_flow",
"crates/terminal",
"crates/terminal_view",
"main", "crates/ssh", "crates/sftp", "crates/sftp_view", "crates/one_ui", "crates/redis_view", "crates/license_tool", "crates/mongodb_view", "crates/remote_file_editor"]
resolver = "2"
[workspace.package]
publish = false
edition = "2024"
[workspace.dependencies]
gpui-component = { path = "crates/ui", version = "0.5.1" }
gpui-component-macros = { path = "crates/macros", version = "0.5.1" }
gpui-component-assets = { path = "crates/assets", version = "0.5.1" }
story = { path = "crates/story" }
gpui = { git = "https://github.com/zed-industries/zed" ,rev = "8b5328ca"}
gpui_tokio = { git = "https://github.com/zed-industries/zed", rev = "8b5328ca" }
util = { git = "https://github.com/zed-industries/zed", rev = "8b5328ca" }
gpui-macros = "0.2.2"
sum-tree = { version = "0.2.0", package = "zed-sum-tree" }
# reqwest = { version = "0.12.15-zed", package = "zed-reqwest" }
reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
"charset",
"http2",
"macos-system-configuration",
"multipart",
"rustls-tls-native-roots",
"socks",
"stream",
], package = "zed-reqwest", version = "0.12.15-zed" }
anyhow = "1.0.102"
log = "0.4"
lsp-types = { version = "0.97.0", features = ["proposed"] }
notify = "7.0.0"
raw-window-handle = "0.6.2"
ropey = { version = "=2.0.0-beta.1", features = [
"metric_lines_lf",
"metric_utf16",
] }
rust-i18n = "3"
schemars = "1"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
serde_repr = "0.1"
smallvec = "1"
smol = "2"
tracing = "0.1.41"
reqwest_client = { path = "crates/reqwest_client" }
db = { path = "crates/db" }
db_view = { path = "crates/db_view" }
redis_view = { path = "crates/redis_view" }
one-ui = { path = "crates/one_ui" }
ssh = { path = "crates/ssh" }
sftp = { path = "crates/sftp" }
terminal = { path = "crates/terminal" }
terminal_view = { path = "crates/terminal_view" }
sftp_view = { path = "crates/sftp_view" }
one-core = { path = "crates/core" }
mongodb_view = {path = "crates/mongodb_view"}
remote_file_editor = { path = "crates/remote_file_editor" }
er_flow = { path = "crates/er_flow" }
ipc = { path = "crates/ipc" }
extension-protocol = { path = "crates/extension-protocol" }
extension-host = { path = "crates/extension-host" }
extension-driver = { path = "crates/extension-driver" }
extension-runtime = { path = "crates/extension-runtime", default-features = false }
extension_view = { path = "crates/extension_view" }
extension-api = { path = "crates/extension-api" }
extension-component = { path = "crates/extension-component" }
extension-wasm = { path = "crates/extension-wasm" }
json5 = "1.3.0"
semver = "1.0.22"
regex = "1.10.0"
futures = "0.3"
image = "0.25.6"
rustls = "0.23.35"
tracing-subscriber = "0.3"
async-trait = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-util = "0.7.17"
dirs = "6.0"
chrono = {version = "0.4.23", features = ["serde"]}
rust_decimal = { version = "1.19.0" }
hex = "0.4"
tiberius = { version = "0.12.3", default-features = false, features = ["chrono", "rustls", "tds73", "winauth"] }
oracle = {version = "0.6.3", features = ["chrono"]}
once_cell = "1.21"
proptest = "1.4"
mysql_async = { version = "0.36.1", features = ["rustls-tls"] }
tokio-postgres = { version = "0.7.15",features = ["with-serde_json-1", "with-chrono-0_4", "with-uuid-1"] }
tokio-postgres-rustls = "0.13.0"
rustls-native-certs = "0.8.1"
rustls-pemfile = "2.2.0"
rusqlite = { version = "0.38", features = ["bundled", "column_decltype"] }
duckdb = { version = "1.10501.0", features = ["bundled"] }
clickhouse = { version = "0.14.1", features = ["rustls-tls-native-roots"] }
sqlformat = "0.5.0"
sqlparser = "0.60.0"
uuid = { version = "1.23.0", features = ["v4", "serde"] }
rust_xlsxwriter = "0.94.0"
dashmap = "5.5.3"
moka = { version = "0.12", features = ["sync"] }
thiserror="2.0.14"
llm-connector = { version = "1.4.0", features = ["streaming"] }
redis_client = { package = "redis", version = "0.27", features = ["tokio-comp", "cluster-async", "connection-manager"] }
# SSH and SFTP
russh = "0.60.3"
russh-sftp = "2.1.2"
tokio-socks = "0.5"
# Encryption
aes-gcm = "0.10"
rand = "0.8"
base64 = "0.22"
sha2 = "0.10"
# Terminal emulation
alacritty_terminal = "0.26"
# Serial port
serialport = "4"
parking_lot = "0.12"
bytes = "1.5"
mongodb = "3.5.1"
futures-util="0.3.31"
interprocess = { version = "2.4.0", features = ["tokio"] }
url = "2.5.4"
percent-encoding = "2.3.1"
global-hotkey = "0.7.0"
ferrum-flow = { git = "https://github.com/tu6ge/ferrum-flow.git", branch = "master" }
[patch.crates-io]
gpui = { git = "https://github.com/zed-industries/zed", rev = "8b5328ca" }
[workspace.dependencies.windows]
features = ["Wdk", "Wdk_System", "Wdk_System_SystemServices"]
version = "0.61.0"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("cargo-clippy"))'] }
[workspace.lints.clippy]
almost_complete_range = "allow"
arc_with_non_send_sync = "allow"
borrowed_box = "allow"
dbg_macro = "deny"
let_underscore_future = "allow"
manual_is_multiple_of = "allow"
map_entry = "allow"
module_inception = "allow"
non_canonical_partial_ord_impl = "allow"
reversed_empty_ranges = "allow"
single_range_in_vec_init = "allow"
style = { level = "allow", priority = -1 }
todo = "deny"
type_complexity = "allow"
[profile.dev]
#codegen-units = 16
#debug = "limited"
#split-debuginfo = "unpacked"
# 优化级别:0=无优化(默认,调试最佳),1=轻度优化,2=中度,3=高度
opt-level = 0
# 是否启用调试符号:true=启用(默认),false=禁用,"full"=完整符号(推荐)
debug = true
# 是否启用 debuginfo 行表(保证调试器能对应源码行)
debug-assertions = true
# 是否启用溢出检查(Debug 模式默认开启,Release 关闭)
overflow-checks = true
# 是否增量编译(加速二次构建,默认开启)
incremental = true
# panic 处理方式:"unwind"=展开栈(默认),"abort"=直接终止程序
panic = "unwind"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
[profile.dev.package]
resvg = { opt-level = 3 }
rustybuzz = { opt-level = 3 }
taffy = { opt-level = 3 }
ttf-parser = { opt-level = 3 }
smol = { opt-level = 3 }
gpui = { opt-level = 3 }
gpui-macros = { opt-level = 3 }
tree-sitter = { opt-level = 3 }
sum_tree = { opt-level = 3 }
ropey = { opt-level = 3 }
lsp-types = { opt-level = 3 }
reqwest_client = { opt-level = 3 }
markdown = { opt-level = 3 }
xml5ever = { opt-level = 3 }