refactor(paroxysm): Explicitly macro imports, no more 'extern crate'

Removes all but one occurence of `extern crate`, to conform with Rust
2018.

The last one is necessary because Diesel is a giant jungle of
complicated macros re-exported from private crates, and the current
version makes it hard to import those directly instead.

Change-Id: Id14165a456d5c3ce6f7a4e0222c611640113eb11
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1549
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
Vincent Ambo 2020-08-02 00:26:01 +01:00 committed by tazjin
parent 660a02947f
commit 194c498d53
5 changed files with 16 additions and 19 deletions

View file

@ -1,5 +1,5 @@
use crate::schema::{entries, keywords};
use chrono::NaiveDateTime;
use crate::schema::{entries, keywords};
#[derive(Queryable)]
pub struct Keyword {