projects
/
stakingWatchdog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
76cacbf
)
Update dependencies
master
author
Greg Burri
<greg.burri@gmail.com>
Sun, 27 Oct 2024 10:26:50 +0000
(11:26 +0100)
committer
Greg Burri
<greg.burri@gmail.com>
Sun, 27 Oct 2024 10:26:50 +0000
(11:26 +0100)
Cargo.toml
patch
|
blob
|
history
deploy.nu
patch
|
blob
|
history
diff --git
a/Cargo.toml
b/Cargo.toml
index
c4c3a8a
..
d6c3b2f
100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-4,18
+4,16
@@
version = "0.1.0"
authors = ["Greg Burri <greg.burri@gmail.com>"]
edition = "2021"
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"
[dependencies]
anyhow = "1.0"
-itertools = "0.1
1
"
+itertools = "0.1
3
"
-reqwest = { version = "0.1
1
", features = [
+reqwest = { version = "0.1
2
", features = [
"blocking",
"json",
], default-features = false }
"blocking",
"json",
], default-features = false }
-lettre = { version = "0.1
0
", features = [
+lettre = { version = "0.1
1
", features = [
"rustls-tls",
"smtp-transport",
"builder",
"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.
serde_json = "1.0"
ron = "0.8" # Rust object notation, to load configuration files.
-
[profile.release]
codegen-units = 1
lto = true
[profile.release]
codegen-units = 1
lto = true
+strip = true
panic = 'abort'
panic = 'abort'
diff --git
a/deploy.nu
b/deploy.nu
index
f97e6ce
..
633c0ae
100644
(file)
--- 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)"
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)"
}
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.
}
# Don't know how to dynamically pass variable arguments.