Core SDK that can be used as a base for all other Temporal SDKs.
This repo uses a submodule for upstream protobuf files. The path protos/api_upstream
is a
submodule -- when checking out the repo for the first time make sure you've run
git submodule update --init --recursive
. TODO: Makefile.
- Protobuf compiler
All of the following commands are enforced for each pull request.
You can buld and test the project using cargo:
cargo build
cargo test
To format all code run:
cargo format --all
We are using clippy for linting.
You can run it using:
cargo clippy --all -- -D warnings
Any error which is returned from a public interface should be well-typed, and we use thiserror for that purpose.
Errors returned from things only used in testing are free to use anyhow for less verbosity.