From e81321d8bff445c5037c047fcbaf84fa14e4fcc1 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 17 Jul 2024 09:09:32 -0700 Subject: [PATCH] update instructions for running example --- Cargo.toml | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f51dcd6..af02810 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ members = [ "libcsp-cargo-build", "examples" ] +default-members = ["examples"] resolver = "2" [package] diff --git a/README.md b/README.md index cc8f1d3..b6a2d68 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ in Rust. You can run the example using the following steps: 1. Clone/Copy `libcsp` into the `lib` folder, for example by using the provided `lib/clone-csp.sh` script or adding `libcsp` as a git submodule. -2. You can now use `cargo run -p libcsp-rust-examples` to run the server/client example. +2. You can now use `cargo run` to run the server/client example. ## Compile-time configuration of the `libcsp-sys` library