torrust / torrust-index

This repository serves as the backend for the Torrust Index project.
https://torrust.com
GNU Affero General Public License v3.0
54 stars 19 forks source link

Refactor: extract duplicate implementation of `InfoHash` struct #756

Closed josecelano closed 3 weeks ago

josecelano commented 3 weeks ago

Relates to:

The InfoHash type was duplicated here and in the Tracker. I've extracted it into a new crate:

https://github.com/torrust/bittorrent-primitives

josecelano commented 3 weeks ago

ACK 569fbd2d2a300005f28cb6201550af28491a4252

codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.21%. Comparing base (65f108d) to head (569fbd2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #756 +/- ## =========================================== - Coverage 40.05% 39.21% -0.85% =========================================== Files 117 116 -1 Lines 7212 7074 -138 =========================================== - Hits 2889 2774 -115 + Misses 4323 4300 -23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.