authors = ["Greg Burri <greg.burri@gmail.com>"]
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",
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'
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.