jamsocket / aper

Synchronizable structs for Rust.

Home Page:https://aper.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run the examples

EteimZ opened this issue · comments

I'm currently trying to run the drop-four example but its not working.

I ran the following command

cargo build

It built successfully then I ran

cargo run -p drop-four-client

This return an error:

error: a bin target must be available for `cargo run`

I'm currently stuck and I would really love to try out the examples.

Hi Youdiowei, good question, this isn't currently well documented. I've added a note about how to run them using Jamsocket. I wish there was a way to build multiple targets with cargo directly, but currently there is not.