feat: prepare 3.2.0 with Local Proxy and gateway IP preference

This commit is contained in:
Kevin Yue committed 2026-10-22 23:52:58 +08:00
1 parent 69d67721a6
commit 915c130c70
47 files changed
+3965 -233

No files matched your search

+10
View File
@@ -57,6 +57,16 @@ pub enum GatewaySelection {
Manual,
}
#[derive(Debug, Default, Serialize, Deserialize, Type, Clone, Copy, PartialEq, Eq)]
#[cfg_attr(feature = "clap", derive(clap::ValueEnum))]
#[serde(rename_all = "camelCase")]
pub enum GatewayIpPreference {
#[default]
Auto,
Ipv4,
Ipv6,
}
impl GatewaySelection {
pub fn as_login_param(self) -> &'static str {
match self {