Skip to content

Conversation

@weiznich
Copy link
Contributor

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.

Copy link
Member

@Manishearth Manishearth left a 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.

@weiznich
Copy link
Contributor Author

Should I just push a fix for the CI failure as well?

@Manishearth
Copy link
Member

Sure!

@Manishearth
Copy link
Member

Still fails tests due to an unused import.

(Wonder how this at all passed before)

@Manishearth
Copy link
Member

oy vey. lemme just fix this for you since I can actually have CI run immediately

@Manishearth Manishearth mentioned this pull request Dec 16, 2025
@Manishearth
Copy link
Member

#153

@Manishearth
Copy link
Member

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.
@weiznich
Copy link
Contributor Author

Thanks for the help 🙏

@Manishearth Manishearth merged commit 63d0234 into unicode-rs:master Dec 16, 2025
2 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.

2 participants