aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/models/film.rs2
-rw-r--r--src/models/room.rs2
-rw-r--r--src/models/screening.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/models/film.rs b/src/models/film.rs
index f280cf6..6d430af 100644
--- a/src/models/film.rs
+++ b/src/models/film.rs
@@ -17,7 +17,7 @@
*/
use crate::schema::films;
-use serde_derive::{Deserialize, Serialize};
+use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Deserialize, Identifiable, PartialEq, Serialize, Queryable)]
pub struct Film {
diff --git a/src/models/room.rs b/src/models/room.rs
index 40c5d19..33fb931 100644
--- a/src/models/room.rs
+++ b/src/models/room.rs
@@ -17,7 +17,7 @@
*/
use crate::schema::rooms;
-use serde_derive::{Deserialize, Serialize};
+use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Deserialize, Identifiable, PartialEq, Serialize, Queryable)]
pub struct Room {
diff --git a/src/models/screening.rs b/src/models/screening.rs
index b513362..b111218 100644
--- a/src/models/screening.rs
+++ b/src/models/screening.rs
@@ -18,7 +18,7 @@
use crate::models::{Film, Room};
use crate::schema::*;
-use serde_derive::{Deserialize, Serialize};
+use serde::{Deserialize, Serialize};
joinable!(screenings -> rooms (room_id));
joinable!(screenings -> films (film_id));