Skip to content

Commit

Permalink
update: Update third parties to latest and fix last warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtryhard committed Apr 6, 2024
1 parent a883b19 commit d9abb80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ actix-web = "4.5.1"
actix-rt = "2.9"
chrono = { version = "0.4.37", features = ["serde"] }
env_logger = "0.11"
log = "0.4.11"
log = "0.4.21"
rusqlite = { version = "0.31", features = ["bundled"] }
serde = "1.0.197"
serde_derive = "1.0.197"
Expand Down
3 changes: 1 addition & 2 deletions src/app_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ impl Database {
mod tests_database {
use super::*;
use crate::broadsign::real_time_pop_request::{RealTimePopEntry, RealTimePopRequest};
use rusqlite::config::DbConfig::SQLITE_DBCONFIG_LEGACY_ALTER_TABLE;
use serde_json::json;

fn ensure_user(db: &Database) {
Expand Down Expand Up @@ -243,7 +242,7 @@ mod tests_database {
schedule_id: 61001,
impressions: 675,
interactions: 0,
end_time: chrono::NaiveDate::from_ymd(2017, 11, 23).and_hms_milli(13, 27, 12, 500),
end_time: chrono::NaiveDate::from_ymd_opt(2017, 11, 23).unwrap().and_hms_milli_opt(13, 27, 12, 500).unwrap(),
duration_ms: 12996,
service_name: "bmb".to_owned(),
service_value: "701".to_owned(),
Expand Down

0 comments on commit d9abb80

Please sign in to comment.