23 lines
1.1 KiB
TOML
23 lines
1.1 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["src-tauri", "crates/dbx-core", "crates/dbx-web", "crates/dbx-mcp", "crates/dbx-cli"]
|
|
exclude = ["vendor/ctor"]
|
|
|
|
[patch.crates-io]
|
|
# Tauri 2.11 uses ctor 0.8, which excludes Rust's win7 vendor. This vendors
|
|
# upstream rust-ctor#443 until tauri-utils moves to ctor 1.x.
|
|
ctor = { path = "vendor/ctor" }
|
|
tokio-postgres = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", rev = "115f9fef10f0fc3669b5337955e4eb461fc349a6" }
|
|
postgres-types = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", rev = "115f9fef10f0fc3669b5337955e4eb461fc349a6" }
|
|
postgres-protocol = { git = "https://github.com/t8y2/tokio-postgres-gaussdb.git", rev = "115f9fef10f0fc3669b5337955e4eb461fc349a6" }
|
|
# Temporary compatibility patch for MySQL accounts using the deprecated
|
|
# sha256_password auth plugin. Remove after upstream support lands.
|
|
mysql_async = { git = "https://github.com/t8y2/mysql_async.git", rev = "b615bb0b10b5975182a4aa069cabc3d09021f6ab" }
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|
|
opt-level = "s"
|