- Download and install Rust from https://www.rust-lang.org/
- Windows users will need Windows C++ build tools https://visualstudio.microsoft.com/visual-cpp-build-tools/
- Select
Desktop development with C++
- This is a Rust requirement for Windows
- Select
- Windows users will need Windows C++ build tools https://visualstudio.microsoft.com/visual-cpp-build-tools/
- Git clone the repo
- Navigate to cloned repo.
- Execute
cargo build
to build debug library.cargo build --release
to build release version- Navigate to examples directory and run
cargo build --release
to build the example files unifiedlog_parser
andunifiedlog_parser_json
can parse a live macOS system if no arguements are presented. Both can also parse alogarchive
if passed as an arguement
- Navigate to examples directory and run
- Follow steps above
- Download
tests.zip
from Github releases - Copy/move
tests.zip
to clone repo - Decompress
tests.zip
- Execute
cargo test --release
to run tests- You can also just use
cargo test
to run tests but it will be slower
- You can also just use
- Download
tests.zip
from Github releases - Copy/move
tests.zip
to clone repo - Decompress
tests.zip
- Run
cargo bench
or - Install criterion,
cargo install cargo-criterion
- Run
cargo criterion