- psr/src/main.rs: The main script that uses the library functions and outputs results.
- psr/src/lib.rs: Contains core functions like create/drop table, load data and execute queries.
- Makefile: Automates tasks like building, testing, and linting.
- Cargo.toml: Project dependencies and settings for Rust.
make build
: Compiles the Rust code.make test
: Runs the tests inlib.rs
.make lint
: Lints the code usingcargo clippy
.make format
: Formats code usingcargo fmt
.
Below is an image showing tools used for this project, including check, format, lint, test, release, and a help menu for the CLI tool.
In order to use our CLI normally, we have to run this in our terminal:
export PATH=$PATH:/PATH TO YOUR REPO/sqlite/target/release
https://github.com/nogibjj/Mu-Niu-Python-Script-Rust/actions/runs/11493330152/artifacts/2097270549