From 93be5de564733069e6a78dea62d6b01e5ae12323 Mon Sep 17 00:00:00 2001 From: arctic_hen7 Date: Sat, 22 Jan 2022 08:28:18 +1100 Subject: [PATCH] fix: fixed warp integration Silly left-over `.await` from a now nonexistent future. --- examples/basic/.perseus/server/Cargo.toml | 2 +- examples/basic/.perseus/server/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/basic/.perseus/server/Cargo.toml b/examples/basic/.perseus/server/Cargo.toml index 1e53672f8b..20101eeafa 100644 --- a/examples/basic/.perseus/server/Cargo.toml +++ b/examples/basic/.perseus/server/Cargo.toml @@ -25,7 +25,7 @@ tokio = { version = "1", optional = true, features = [ "macros", "rt-multi-threa integration-actix-web = [ "perseus-actix-web", "actix-web", "actix-http" ] integration-warp = [ "perseus-warp", "warp", "tokio" ] -default = [ "integration-actix-web" ] +default = [ "integration-warp" ] # This makes the binary work on its own, and is enabled by `perseus deploy` (do NOT invoke this manually!) standalone = [ "perseus/standalone", "perseus-engine/standalone" ] diff --git a/examples/basic/.perseus/server/src/main.rs b/examples/basic/.perseus/server/src/main.rs index 0ff98d3f14..32db0c7dd6 100644 --- a/examples/basic/.perseus/server/src/main.rs +++ b/examples/basic/.perseus/server/src/main.rs @@ -42,7 +42,7 @@ async fn main() { use std::net::SocketAddr; let is_standalone = get_standalone_and_act(); - let props = get_props(is_standalone).await; + let props = get_props(is_standalone); let (host, port) = get_host_and_port(); let addr: SocketAddr = format!("{}:{}", host, port) .parse()