Skip to content

Whist-Team/Whist-Browser

Repository files navigation

CIcodecov

Whist-Browser

Front end client

Deploy

  • Install wasm target: rustup target add wasm32-unknown-unknown
  • Install trunk or wasm-server-runner : cargo install --locked trunk cargo install --locked wasm-server-runner
  • Run trunk serve or cargo run --target wasm32-unknown-unknown

Development

Requirements

Linux

The following packages are required to build locally.

sudo apt install g++ pkg-config libx11-dev libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev libssl-dev

Version

The client checks if it is compatible with the Core and Server version. The right version can be set in src/lib.rs.

pub const EXPECTED_CORE_VERSION: &str = "^0.4";
pub const EXPECTED_SERVER_VERSION: &str = "^0.5";