An experimental Web Application Library, for Rust - The project is in research and development stage so please do not use it for production.
wal_inputfilter- A set ofInputvalidation structs used to validate primitive values as they pertain to web applications.wal_acl- An access control list structure.wal_graph- A collection of basic graph structures to use inwal_aclandwal_navigation, etc.wal_navigation- A collection of structs to use to compose web page link graphs. Can also be integrated withwal_acl. This structure is overall useful in scenarios where page access needs to be controlled from the application level.
- Install
cargo-llvm-cov:cargo install cargo-llvm-cov - Run tests with coverage and generate HTML report:
sh ./test.shor the command directly:cargo llvm-cov --html --workspace --branch - Open the generated report at
target/llvm-cov/html/index.htmlin your web browser.
Cargo llvm-cov reference: https://github.com/taiki-e/cargo-llvm-cov
Note: branch and functions tracking is not supported with this method (currently).
- Install
llvm-tools:$ rustup component add llvm-tools-preview - Install grcov:
cargo install grcov. - Run
sh ./grcov-coverage.sh(builds project with instrumentation and runs tests). - Run the coverage "index.html" file (target/coverage/html/index.html) in the browser.
Reference: https://github.com/mozilla/grcov?tab=readme-ov-file#how-to-get-grcov
MIT 3.0 + Apache 2.0