feat: implement the bDS2-compatible core Lua API

This commit is contained in:
2026-07-19 09:24:39 +02:00
parent 33929fd04b
commit 9a72287fc6
37 changed files with 11990 additions and 117 deletions

View File

@@ -135,6 +135,17 @@ pub struct PublishingPreferences {
pub ssh_mode: SshMode,
}
impl Default for PublishingPreferences {
fn default() -> Self {
Self {
ssh_host: None,
ssh_user: None,
ssh_remote_path: None,
ssh_mode: default_ssh_mode(),
}
}
}
fn default_ssh_mode() -> SshMode {
SshMode::Scp
}