Front end client
- 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
orcargo run --target wasm32-unknown-unknown
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
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";