From 2af0ef97fcb3bdf633135c2f0a3f4bf43c7a343c Mon Sep 17 00:00:00 2001 From: kirbylife Date: Fri, 22 Nov 2019 01:40:53 -0600 Subject: [PATCH] added custom flags to compile diesel flags --- RustConfig | 3 ++- src/controllers.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/controllers.rs diff --git a/RustConfig b/RustConfig index c73c12c..34d90ec 100644 --- a/RustConfig +++ b/RustConfig @@ -1,2 +1,3 @@ VERSION=nightly -RUST_INSTALL_DIESEL=1 \ No newline at end of file +RUST_INSTALL_DIESEL=1 +DIESEL_FLAGS="--force --no-default-features --features postgres" \ No newline at end of file diff --git a/src/controllers.rs b/src/controllers.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/controllers.rs @@ -0,0 +1 @@ +