Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Torrust Tracker Metrics

A library with the metrics types used by the Torrust Tracker packages.

Documentation

Crate documentation.

Testing

Run coverage report:

cargo llvm-cov --package torrust-tracker-metrics 

Generate LCOV report with llvm-cov (for Visual Studio Code extension):

mkdir -p ./.coverage
cargo llvm-cov --package torrust-tracker-metrics  --lcov --output-path=./.coverage/lcov.info

Generate HTML report with llvm-cov:

mkdir -p ./.coverage
cargo llvm-cov --package torrust-tracker-metrics  --html --output-dir ./.coverage

Acknowledgements

We copied some parts like units or function names and signatures from the crate metrics because we wanted to make it compatible as much as possible with it. In the future, we may consider using the metrics crate directly instead of maintaining our own version.

License

The project is licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE.