Skip to content

Commit

Permalink
cleanup after language server checks
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Jun 17, 2024
1 parent e4f07b5 commit a26e87e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#![deny(missing_docs)]
#![warn(rustdoc::broken_intra_doc_links)]
extern crate diesel;
extern crate num_derive;

/// this mod holds serializer and deserializer for NaiveDateTime
Expand Down
1 change: 1 addition & 0 deletions src/locations/gps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
use crate::schema::*;
use chrono::NaiveDateTime;
use diesel::{Insertable, Queryable};
use serde::{Deserialize, Serialize};
use uuid::Uuid;

Expand Down
1 change: 1 addition & 0 deletions src/locations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub mod waypoint;

use crate::schema::*;

use diesel::{AsChangeset, Identifiable, Insertable, Queryable};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use utoipa::ToSchema;
Expand Down
1 change: 1 addition & 0 deletions src/locations/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use std::fs;
use std::path::PathBuf;

use chrono::prelude::{DateTime, Utc};
use diesel::{Insertable, Queryable};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

Expand Down
1 change: 1 addition & 0 deletions src/management/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::locations::region::Region;
use crate::schema::*;
use user::User;

use diesel::{Associations, Insertable, Queryable};
use securefmt::Debug;
use serde::ser::SerializeStruct;
use serde::{Deserialize, Serialize, Serializer};
Expand Down
4 changes: 2 additions & 2 deletions src/management/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ use uuid::Uuid;
use diesel::deserialize::{self, FromSql};
use diesel::serialize::{self, Output, ToSql};
use diesel::{
pg::Pg, AsExpression, ExpressionMethods, Insertable, PgConnection, QueryDsl, Queryable,
RunQueryDsl,
pg::Pg, AsChangeset, AsExpression, ExpressionMethods, FromSqlRow, Identifiable, Insertable,
PgConnection, QueryDsl, Queryable, RunQueryDsl,
};
use securefmt::Debug;
use std::collections::HashMap;
Expand Down
1 change: 1 addition & 0 deletions src/statistics.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use chrono::NaiveDateTime;
use diesel::{Insertable, Queryable};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
use uuid::Uuid;
Expand Down
2 changes: 1 addition & 1 deletion src/telegrams/r09.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use chrono::NaiveDateTime;
use diesel::deserialize::{self, FromSql};
use diesel::pg::Pg;
use diesel::serialize::{self, Output, ToSql};
use diesel::{AsExpression, Insertable, Queryable};
use diesel::{AsExpression, Associations, FromSqlRow, Identifiable, Insertable, Queryable};
use log::info;
use serde::ser::{SerializeStruct, Serializer};
use serde::{Deserialize, Serialize};
Expand Down
1 change: 1 addition & 0 deletions src/telegrams/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use std::fmt;
use std::hash::{Hash, Hasher};

use chrono::NaiveDateTime;
use diesel::{Insertable, Queryable};
use serde::{Deserialize, Serialize};
use struct_field_names_as_array::FieldNamesAsArray;
use uuid::Uuid;
Expand Down
1 change: 1 addition & 0 deletions src/trekkie/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use chrono::NaiveDateTime;
use diesel::{Insertable, Queryable};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
use uuid::Uuid;
Expand Down

0 comments on commit a26e87e

Please sign in to comment.