-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract duplicate implementation of InfoHash
struct
#360
Labels
- Developer -
Torrust Improvement Experience
Build | Project System
Compiling and Packaging
Code Cleanup / Refactoring
Tidying and Making Neat
Milestone
Comments
Hi @da2ce7 I would like to do this. Which package could we include this mod in? |
I'm extracting the info-hash mod into a new crate: https://github.com/torrust/bittorrent-primitives The |
josecelano
added a commit
to torrust/torrust-index
that referenced
this issue
Oct 31, 2024
…struct 569fbd2 chore: remove unused dep binascii (Jose Celano) e58b314 refactor: replace InfoHash with external extracted crate (Jose Celano) 912715f feat: add dep bittorrent-primitives (Jose Celano) Pull request description: Relates to: - torrust/torrust-tracker#360 - torrust/torrust-tracker#1066 The `InfoHash` type was duplicated here and in the [Tracker](torrust/torrust-tracker#360). I've extracted it into a new crate: https://github.com/torrust/bittorrent-primitives ACKs for top commit: josecelano: ACK 569fbd2 Tree-SHA512: a09f849555067a08efe4609c68d38ca690ef7d3d795b81deeb3b6aa8f2cfa235082620745835f26155b80076a78f23c8eb99f46dbfb46a5da67a9c8b54c64691
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
- Developer -
Torrust Improvement Experience
Build | Project System
Compiling and Packaging
Code Cleanup / Refactoring
Tidying and Making Neat
Relates to:
InfoHash
struct torrust-index#251We are duplicating code for:
We should extract a common BitTorrent protocol crate for both the Tracker and the Index Backend.
The text was updated successfully, but these errors were encountered: