astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Add ability to specify option to generate hashes within pyproject.toml #1129

Closed asmith26 closed 3 months ago

asmith26 commented 4 months ago

Please note: I haven't written any Rust before, but just wanted this feature hence thought I'd try submitting a PR for this. I've essentially tried to mimic the code regarding the --with-sources feature. I'm not sure how to compile and test locally (so welcome any info on this - and if helpful I would be happy to test this locally and get back to confirm if this works).

All thoughts/help/feedback etc. very welcome, and no worries if this feature is not useful.

Thanks!