Add Rust prototype of the ssh:// protocol handler

Raw Win32 rewrite (windows-rs + a native dialog resource, no GUI
framework) of SshHandler, aimed at eliminating .NET's ~150MB
self-contained payload and CLR startup cost for what's just a
click-triggered dialog + process launch. Release build cross-compiles
to a ~250KB binary. Same behavior as the WinForms version: registry
setup mode, target parsing/editing dialog, legacy-algorithm option,
launches ssh.exe via ShellExecuteW.

Verified functionally under Wine (registry-setup prompt and the
connect dialog both render and round-trip correctly); real Windows
cold-start numbers still need to be gathered on actual hardware.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GYCT2RpUjFfBfp6CD4rREw
This commit is contained in:
Claude
2026-09-08 16:20:44 +00:00
parent eab8873c14
commit a671325a34
9 changed files with 817 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#define IDI_APPICON 102
#define IDD_CONNECT 101
#define IDC_EDIT_TARGET 1001
#define IDC_CHECK_LEGACY 1002