cargo upgrade and update

This commit is contained in:
Bryan Stitt 2023-08-30 21:05:34 -07:00
parent 0ff3ccd479
commit 484610b80f
3 changed files with 5 additions and 4 deletions

4
Cargo.lock generated

@ -4616,9 +4616,9 @@ dependencies = [
[[package]]
name = "rdkafka"
version = "0.33.2"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da18026aad1c24033da3da726200de7e911e75c2e2cc2f77ffb9b4502720faae"
checksum = "053adfa02fab06e86c01d586cc68aa47ee0ff4489a59469081dc12cbcde578bf"
dependencies = [
"futures-channel",
"futures-util",

@ -73,7 +73,7 @@ once_cell = { version = "1.18.0" }
ordered-float = {version = "3.9.1" }
pagerduty-rs = { version = "0.1.6", default-features = false, features = ["async", "rustls", "sync"] }
parking_lot = { version = "0.12.1", features = ["arc_lock", "nightly"] }
rdkafka = { version = "0.33.2", features = ["tracing"] }
rdkafka = { version = "0.34.0", features = ["tracing"] }
regex = "1.9.4"
reqwest = { version = "0.11.20", default-features = false, features = ["deflate", "gzip", "json", "tokio-rustls"] }
rmp-serde = "1.1.2"

@ -421,7 +421,8 @@ impl BufferedRpcQueryStats {
let now = Utc::now();
let valid_until =
DateTime::<Utc>::from_utc(referral_start_date, Utc) + Months::new(12);
DateTime::<Utc>::from_naive_utc_and_offset(referral_start_date, Utc)
+ Months::new(12);
// If the referrer ever had premium, provide credits to them
// Also only works if the referrer referred the person less than 1 year ago