From 523d01d4437de5c81cc45948506c8589be77b6a9 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 18 Apr 2020 15:48:00 +0200 Subject: [PATCH] async fn and conn are not compatible atm since diesel is completely sync --- gotham_restful_derive/src/method.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gotham_restful_derive/src/method.rs b/gotham_restful_derive/src/method.rs index 39c31a5..098c4c7 100644 --- a/gotham_restful_derive/src/method.rs +++ b/gotham_restful_derive/src/method.rs @@ -392,6 +392,10 @@ fn expand(method : Method, attrs : TokenStream, item : TokenStream) -> Result