mirror of
https://codeberg.org/demostf/backup.git
synced 2026-06-03 09:54:18 +02:00
cargo updates
This commit is contained in:
parent
23fc8d2509
commit
24f9594223
3 changed files with 889 additions and 481 deletions
1394
Cargo.lock
generated
1394
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
18
Cargo.toml
18
Cargo.toml
|
|
@ -1,19 +1,19 @@
|
||||||
[package]
|
[package]
|
||||||
name = "demostf-backup"
|
name = "demostf-backup"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
edition = "2018"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
thiserror = "1.0.56"
|
thiserror = "2.0.18"
|
||||||
dotenvy = "0.15.7"
|
dotenvy = "0.15.7"
|
||||||
main_error = "0.1.2"
|
main_error = "0.1.2"
|
||||||
demostf-client = { version = "0.4.3", default-features = false, features = ["rustls-tls"] }
|
demostf-client = { version = "0.4.6", default-features = false, features = ["rustls-tls"] }
|
||||||
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros"] }
|
tokio = { version = "1.52.3", features = ["rt-multi-thread", "macros"] }
|
||||||
tracing = "0.1.40"
|
tracing = "0.1.44"
|
||||||
tracing-subscriber = "0.3.18"
|
tracing-subscriber = "0.3.23"
|
||||||
futures-util = "0.3.30"
|
futures-util = "0.3.32"
|
||||||
md5 = "0.7.0"
|
md5 = "0.8.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ impl Store {
|
||||||
hash.consume(data);
|
hash.consume(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(hash.compute().0)
|
Ok(hash.finalize().0)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generate_path(&self, name: &str) -> PathBuf {
|
fn generate_path(&self, name: &str) -> PathBuf {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue