Skip to content

Commit 70973bc

Browse files
authored
Update to edition 2024
1 parent af10cec commit 70973bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
authors = ["Martin Pool <[email protected]>"]
33
description = "A robust backup tool."
4-
edition = "2021"
4+
edition = "2024"
55
homepage = "https://github.com/sourcefrog/conserve/"
66
keywords = ["archive", "backup"]
77
license = "GPL-2.0"
88
name = "conserve"
99
readme = "README.md"
1010
repository = "https://github.com/sourcefrog/conserve/"
1111
version = "23.11.0"
12-
rust-version = "1.82"
12+
rust-version = "1.85"
1313

1414
[features]
1515
default = ["s3", "sftp"]

tests/s3_integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use aws_sdk_s3::types::{
2929
};
3030
use indoc::indoc;
3131
use rand::Rng;
32-
use time::macros::format_description;
3332
use time::OffsetDateTime;
33+
use time::macros::format_description;
3434
use tokio::runtime::Runtime;
3535

3636
struct TempBucket {
@@ -54,7 +54,7 @@ impl TempBucket {
5454
time = OffsetDateTime::now_utc()
5555
.format(format_description!("[year][month][day]-[hour][minute]"))
5656
.expect("Format time"),
57-
rand = rand::thread_rng().gen::<u64>()
57+
rand = rand::thread_rng().r#gen::<u64>()
5858
);
5959
let app_name = AppName::new(format!(
6060
"conserve-s3-integration-test-{}",

0 commit comments

Comments
 (0)