This document provides instructions for AI agents working with the sapphillon_core repository.
sapphillon_core is a Rust-based workflow runtime. It forms the core of the Sapphillon project, providing the necessary components to execute workflows.
The key technologies used in this project are:
- Rust: The primary programming language.
- Tonic: A gRPC framework for Rust.
- Prost: A Protocol Buffers implementation for Rust.
- Deno: Used as a JavaScript/TypeScript runtime.
To build the project, run the following command:
make rust_buildTo run the test suite, use the following command:
make rust_testThis project uses rustfmt for formatting and clippy for linting.
To check the formatting, run:
make rust_check_formatTo automatically fix formatting and linting issues, run:
make rust_fix_formatThis project uses Protocol Buffers for defining gRPC services and messages. The .proto files are located in the src/proto directory.
If you modify any of the .proto files, you must regenerate the Rust code by running:
make buf_generate