Reintroduce macro_use for Diesel to import custom derives.

This commit is contained in:
Jimmy Cuadra 2019-04-12 03:54:28 -07:00
parent b3eeb25a99
commit 1c5c1f92d6

View File

@ -5,6 +5,10 @@
#![deny(missing_docs)] #![deny(missing_docs)]
#![deny(warnings)] #![deny(warnings)]
#[cfg(feature = "diesel")]
#[cfg_attr(feature = "diesel", macro_use)]
extern crate diesel;
use std::{ use std::{
convert::TryFrom, convert::TryFrom,
error::Error as StdError, error::Error as StdError,