Compare commits
1 Commits
main
...
update-dep
Author | SHA1 | Date | |
---|---|---|---|
|
f3589fee77 |
1142
Cargo.lock
generated
1142
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -137,9 +137,11 @@ assert-json-diff = "2.0"
|
||||
rustc_version = "0.4.0"
|
||||
static_init = "1.0"
|
||||
|
||||
aws-config = "1.1.4"
|
||||
aws-sdk-config = "1.13"
|
||||
aws-sdk-s3 = "1.14"
|
||||
aws-config = "=1.1.4"
|
||||
aws-credential-types = "=1.1.4"
|
||||
aws-types = "=1.1.4"
|
||||
aws-sdk-config = "=1.13.0"
|
||||
aws-sdk-s3 = "=1.14.0"
|
||||
|
||||
[profile.dev]
|
||||
#lto = "thin" # disabled for now, adds 2-4 min to each CI build
|
||||
|
@ -63,7 +63,10 @@ syslog-tracing = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
aws-config.workspace = true
|
||||
aws-types.workspace = true
|
||||
aws-credential-types.workspace = true
|
||||
aws-sdk-s3.workspace = true
|
||||
|
||||
chrono.workspace = true
|
||||
http.workspace = true
|
||||
hmac.workspace = true
|
||||
|
@ -388,13 +388,14 @@ fn check_size_filter(version_data: &ObjectVersionData, filter: &LifecycleFilter)
|
||||
fn midnight_ts(date: NaiveDate) -> u64 {
|
||||
date.and_hms_opt(0, 0, 0)
|
||||
.expect("midnight does not exist")
|
||||
.and_utc()
|
||||
.timestamp_millis() as u64
|
||||
}
|
||||
|
||||
fn next_date(ts: u64) -> NaiveDate {
|
||||
NaiveDateTime::from_timestamp_millis(ts as i64)
|
||||
DateTime::from_timestamp_millis(ts as i64)
|
||||
.expect("bad timestamp")
|
||||
.date()
|
||||
.date_naive()
|
||||
.succ_opt()
|
||||
.expect("no next day")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user