From: Greg Burri Date: Sun, 27 Oct 2024 10:26:50 +0000 (+0100) Subject: Update dependencies X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=ede2eb9e71d9ca5d8598f53cb4616ec4b7dbc25e;p=stakingWatchdog.git Update dependencies --- diff --git a/Cargo.toml b/Cargo.toml index c4c3a8a..d6c3b2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,18 +4,16 @@ version = "0.1.0" authors = ["Greg Burri "] edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] anyhow = "1.0" -itertools = "0.11" +itertools = "0.13" -reqwest = { version = "0.11", features = [ +reqwest = { version = "0.12", features = [ "blocking", "json", ], default-features = false } -lettre = { version = "0.10", features = [ +lettre = { version = "0.11", features = [ "rustls-tls", "smtp-transport", "builder", @@ -25,8 +23,8 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" ron = "0.8" # Rust object notation, to load configuration files. - [profile.release] codegen-units = 1 lto = true +strip = true panic = 'abort' diff --git a/deploy.nu b/deploy.nu index f97e6ce..633c0ae 100644 --- a/deploy.nu +++ b/deploy.nu @@ -11,13 +11,13 @@ def main [host: string, destination: string, ssh_key: path] { def invoke_ssh [command: string] { let args = $ssh_args ++ $command print $"Executing: ssh ($args)" - ssh $args + ssh ...$args } def copy_ssh [source: string, destination: string] { let args = $scp_args ++ [$source $"($host):($destination)"] print $"Executing: scp ($args)" - scp $args + scp ...$args } # Don't know how to dynamically pass variable arguments.