/database-stream-processor

Streaming and Incremental Computation Framework

Primary LanguageRustOtherNOASSERTION

Database Stream Processor

Streaming and Incremental Computation Framework

Development tools

Ideally this code should run fine in Linux, MacOs, and Windows. The code is written in Rust. Here are some tools we found useful for development:

See https://www.twelve21.io/getting-started-with-rust-on-windows-and-visual-studio-code about using Rust in VSCode.

Check test coverage

  • Run on the command line cargo tarpaulin --out Lcov to generate coverage information
  • Use the Coverage Gutters VSCode extension to watch the lcov file (CTRL+SHIFT+P, Coverage Gutters: Watch)

Set-up git hooks

  • Execute the following command to make git commit check the code before commit:
GITDIR=$(git rev-parse --git-dir)
ln -sf $(pwd)/tools/prepush.sh ${GITDIR}/hooks/pre-push