swim-rust
swim-rust copied to clipboard
Self-contained distributed software platform for building stateful, massively real-time streaming applications in Rust.
⚠️🚧 Warning: Project is still under construction 👷 🚧
This project is still in its early stages of development, meaning that it is not yet stable and is subject to frequent API changes.
USE AT YOUR OWN RISK!
Usage Guides
Implementing Swim Agents in Rust
Building a Swim Server Application
Examples
TODO
Development
Dependencies
Formatting: rustup component add rustfmt
Clippy: rustup component add clippy
Tarpaulin cargo install cargo-tarpaulin
Unit tests
Basic: cargo test
With coverage: cargo tarpaulin --ignore-tests -o Html -t 300
Lint
Manual
-
cargo fmt --all -- --check
-
cargo clippy --all-features --workspace --all-targets -- -D warnings
Automatic (before commit):
- Install hook:
sh ./install-commit-hook.sh
- Remove hook:
sh ./remove-commit-hook.sh
Note: The pre-commit hooks take a while to run all checks.