Skip to content

Commit

Permalink
fix: fixed warp integration
Browse files Browse the repository at this point in the history
Silly left-over `.await` from a now nonexistent future.
  • Loading branch information
arctic-hen7 committed Jan 21, 2022
1 parent b974576 commit 93be5de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/basic/.perseus/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
2 changes: 1 addition & 1 deletion examples/basic/.perseus/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 93be5de

Please sign in to comment.