Build, run tests, and publish in a Rust project
Currently, Automation does not provide any API for working with Rust. So, the only way to build, test, and publish Rust projects is to use the
cargo command-line tool in shell scripts.
The content of
.space.kts might look like follows:
JB_SPACE_CLIENT_TOKEN is the environment variable that stores an authorization token. The token lets the Space Automation service to authorize in Space Packages.