To build the project locally, you will need to have the following installed:
Once you have Rust + LLD + LLVM installed, you can build the project by running:
cargo build --releaseThe compiled binary will be located at target/release/cli.
Note
For actual use, you'll want to alias the binary to cloudstate for ease of use.
The single binary is not meant to be used as a library. If you want to use the cloudstate library in your project, you should use either use the server or runtime crate. The server crate exposes an http server that can be embedded in your project, while the runtime crate exposes the core functionality of cloudstate.
Note
Cloudstate uses the tokio tracing crate for logging. If you want to get these logs, you'll need to set up your own tracing-subscriber in your project.