feat: add SSH config aliases and PostgreSQL extensions

This commit is contained in:
zergmk2 authored and GitHub committed 2026-07-05 20:29:49 +08:00
1 parent 8b035d0989
commit f800d80f90
35 files changed
+1191 -33

No files matched your search

+7
View File
@@ -166,6 +166,13 @@ pub struct SshTunnelConfig {
/// the `SSH_AUTH_SOCK` environment variable.
#[serde(default)]
pub ssh_agent_sock_path: String,
/// Login method: `"password"`, `"key"`, `"agent"`, or `"none"`.
/// Empty string means an older saved connection predating this field —
/// the backend falls back to probing key > password > agent based on
/// which fields are non-empty. When set to a specific method the backend
/// only tries that method (after the standard `none` probe).
#[serde(default)]
pub auth_method: String,
}
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]