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 ofInput
validation 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_acl
andwal_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
llvm-tools
:$ rustup component add llvm-tools-preview
- Install grcov:
cargo install grcov
. - Build library with instrumentation:
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='.profraw/cargo-test-%p-%m.profraw' cargo test -- --test-threads 16
- Run grcov:
grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/html
- Run the coverage index.html (target/coverage/html/index.html) file in the browser.
Reference: https://github.com/mozilla/grcov?tab=readme-ov-file#how-to-get-grcov
MIT 3.0 + Apache 2.0