update instructions for running example

This commit is contained in:
Robin Müller 2024-07-17 09:09:32 -07:00
parent 0b075e5a97
commit e81321d8bf
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ members = [
"libcsp-cargo-build", "libcsp-cargo-build",
"examples" "examples"
] ]
default-members = ["examples"]
resolver = "2" resolver = "2"
[package] [package]

View File

@ -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` 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. 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 ## Compile-time configuration of the `libcsp-sys` library