Documentation, for the library, the non-permanent traffic counts import program, and the permanent bikeped counts import program is generated by rustdoc from comments. To view it locally, clone this repository and run cargo doc --no-deps --open.
Environment variables for both binaries should be included in a .env file:
NON_PERM_DB_USERNAME=DVRPCTC_TEST
NON_PERM_DB_PASSWORD='password here'
NON_PERM_DATA_DIR="data"
NON_PERM_LOG_DIR="data"
PERM_BIKEPED_DB_USERNAME=BIKEPED_TEST
PERM_BIKEPED_DB_PASSWORD='password here'
PERM_BIKEPED_DATA_DIR="data"
PERM_BIKEPED_LOG_DIR="data"cargo test. Note that db access is required for much of the test suite.