Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.46 KB

CONTRIBUTING.md

File metadata and controls

53 lines (37 loc) · 1.46 KB

Contributing to Pisa-Proxy

Prerequisites

Pisa-proxy is written in Rust, to build Pisa-Proxy from scratch you will need to install the following tools:

Fork and Clone

git clone https://github.com/database-mesh/pisanix.git
cd pisanix/pisa-proxy

run clippy

make clippy

run format

make fmt

build with release

# make release

proxy will be placed in the target/release directory.

Build with Docker Image

We provide a docker image with full development requirements.

# make docker

How to add a new feature or change an existing one

Before making any significant changes, please open an issue. Discussing your proposed changes ahead of time will make the contribution process smooth for everyone.

Once we've discussed your changes and you've got your code ready, make sure that tests are passing and open your pull request. Your PR is most likely to be accepted if it:

  • Includes tests for new functionality.
  • References the original issue in the description, e.g. "Resolves #123".
  • Has a good commit message.

rust code style