Skip to content
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 code into new package: bittorrent-http-protocol #1112

Merged

Conversation

josecelano
Copy link
Member

For now, it only contains percent encoding functions.

This removes duplicate code and fixes the problem of slow doc tests. On my machine, it takes 40 seconds to run all doc tests with one job.

time cargo test --doc --workspace --jobs=1

real    0m40.443s
user    6m6.863s
sys     0m22.609s

I have also fixed the testing workflow, it was using cargo test --doc to run doc-tests without including doc-test is workspace packages.

@josecelano josecelano requested a review from a team as a code owner November 29, 2024 16:41
@josecelano josecelano self-assigned this Nov 29, 2024
@josecelano josecelano linked an issue Nov 29, 2024 that may be closed by this pull request
@josecelano josecelano requested a review from da2ce7 November 29, 2024 16:41
@josecelano
Copy link
Member Author

ACK 2bc44af

@josecelano josecelano merged commit 17e86c6 into torrust:develop Nov 29, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant