This is a Rust project, so rustup is a great place to start. It provides an easy way to manage your Rust installation and toolchains.
This is a pure Rust project, so only cargo is needed. Here are some common commands to get you started:
cargo check: Analyze the current package and report errors. This is a quick way to catch any obvious issues without a full compilation.cargo fmt: Format the current code according to the Rust style guidelines. This helps maintain a consistent code style throughout the project.cargo build: Compile the current package. This will build the project and generate executable binaries if applicable.cargo clippy: Catch common mistakes and improve code quality. Clippy provides a set of lints that can help you write better Rust code.cargo test: Run unit tests. This will execute all the tests defined in the project to ensure the functionality is correct.cargo bench: Run benchmark tests. This is useful for measuring the performance of specific parts of the code.rustup. Follow the instructions on the rustup website to install Rust on your system.cargo fmt to ensure consistency with the project's code style.Apache Paimon Rust has the following policy for AI-assisted pull requests:
AI tools cannot reliably make complex changes to Apache Paimon Rust on their own, which is why we rely on pull requests and code review.
The purposes of code review are:
A fully AI-generated contribution without sufficient author understanding does not meet these purposes. Maintainers could use AI tools directly, while contributors acting only as a proxy gain little knowledge of the project.
Review capacity is limited, so large pull requests that appear to lack the required understanding may not be reviewed and may eventually be closed or redirected.
Consider writing a high-quality issue with a clear problem statement and a minimal reproducible example. This often makes it easier for the community to investigate the problem and develop an appropriate solution.
For a deeper understanding of the project, read the design documentation available on our Paimon Rust.
Thank you for contributing to this project! 😊