25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
# === Optional build speed-ups (add to your ~/.zshrc or ~/.bashrc; do NOT commit) ===
#
# 1. sccache — compile cache, skips recompiling unchanged deps
# cargo install sccache
# export RUSTC_WRAPPER=sccache
#
# 2. lld — LLVM linker, 2-3x faster linking than the system default
# macOS: brew install lld
# export CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER=/opt/homebrew/bin/lld
# Linux: apt install lld
# export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=lld
#
# Skip DuckDB during development: cargo check --no-default-features
# ===================================================================================
[env]
# Enable SQLite's built-in math functions for rusqlite's bundled libsqlite3.
LIBSQLITE3_FLAGS = "SQLITE_ENABLE_MATH_FUNCTIONS"
[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
# Increase main-thread stack from the Windows default of 1 MiB to 8 MiB.
# Large Rust projects in debug mode overflow the 1 MiB stack when DB query
# paths pull in deep serde/driver call stacks. This embeds the size in the PE.
rustflags = ["-C", "link-arg=/STACK:8388608"]
# The legacy Windows 7 / Server 2012 R2 target keeps the same 8 MiB main-thread
# stack. CI builds it with an explicit RUSTFLAGS env (static CRT), which
# replaces this table, so the same link arg is repeated in those workflows and
# audited by .github/scripts/assert-win7-pe-compat.ps1. Without it the legacy PE
# keeps the 1 MiB default and the app aborts with 0xC00000FD ("DBX 已停止工作").
[target.x86_64-win7-windows-msvc]
rustflags = ["-C", "link-arg=/STACK:8388608"]