be-technical-interview-rust/ABOUT.md

997 B

Backend internal interview (rust) - improved

Verification

From input.txt compare output with output_expected.txt

cargo run -q -- -i input.txt -q

From tests

cargo test test_expected_metrics

test_expectd_metrics can be found at the end of tests.rs

DEFAULT_INPUT_PATH and DEFAULT_REG_EXP values can be found in defs.rs

For parallel processing

A second file input_2.txt has been created and included in config.toml

cargo run -q

It the same as:

cargo run -q -- -c config.toml

Note

config.toml is DEFAULT_CONFIG_PATH if does not exists it will only use DEFAULT_INPUT_PATH input.txt

Read Documentation

Build documentation and browse to main page

cargo doc --no-deps --open

Source code contains doc text.

How to use

For more explanations use how to use