aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-08-22 16:58:18 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-08-22 17:00:50 +0200
commit2b8fdbe9200d6950bfd10f42e5af0e424effafd8 (patch)
tree5a409d4f9bed397e758c15a5cb6e62831606d0eb /src
parentde567501a7aef2d4799406b3acc0519bd0932174 (diff)
downloadramaskrik-social-2b8fdbe9200d6950bfd10f42e5af0e424effafd8.tar.gz
ramaskrik-social-2b8fdbe9200d6950bfd10f42e5af0e424effafd8.tar.bz2
ramaskrik-social-2b8fdbe9200d6950bfd10f42e5af0e424effafd8.zip
Update deps, drop serde_derive.
serde_derive is included by passing the 'derive' feature to serde instead.
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));