-
Notifications
You must be signed in to change notification settings - Fork 68
Exclude development scripts from published package #152
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
Exclude development scripts from published package #152
Conversation
1184f7e to
1f772e9
Compare
Manishearth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still include the tests and benches.
1f772e9 to
4914eab
Compare
|
Should I just push a fix for the CI failure as well? |
|
Sure! |
|
Still fails tests due to an unused import. (Wonder how this at all passed before) |
bb823d8 to
1710f19
Compare
|
oy vey. lemme just fix this for you since I can actually have CI run immediately |
|
Landed, but this branch needs to be updated unfortunately. I can't do this from here since I can't push to this PR, but i can merge once you're done. |
During a dependency review we noticed that the unicode-segmentation crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the `[bans.build.interpreted]` option of cargo deny. I opted for using an explicit include list instead of an exclude list to prevent these files from beeing included in the published packages to make sure that everything that's included is an conscious choice.
1710f19 to
65d9c14
Compare
|
Thanks for the help 🙏 |
During a dependency review we noticed that the unicode-segmentation crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the
[bans.build.interpreted]option of cargo deny.I opted for using an explicit include list instead of an exclude list to prevent these files from beeing included in the published packages to make sure that everything that's included is an conscious choice.