summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/Cargo.toml1
-rw-r--r--server/src/play.rs4
2 files changed, 4 insertions, 1 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml
index 041eb4e..ca3475d 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -29,3 +29,4 @@ reqwest = "0.11.12"
cookie = "0.16.1"
time = "0.1.44"
async-trait = "0.1.57"
+rand = "0.8.4"
diff --git a/server/src/play.rs b/server/src/play.rs
index 9ae3d54..8d79977 100644
--- a/server/src/play.rs
+++ b/server/src/play.rs
@@ -1,5 +1,7 @@
use async_trait::async_trait;
-use protocol::bridge_engine::{self, GameState, Player};
+use protocol::{bridge_engine::{self, GameState, Player, Bid, Deal}};
+use rand::random;
+use serde::{Deserialize, Serialize};
use serde_json::json;
use sqlx::{query, PgPool};
use uuid::Uuid;