Skip to content

Conversation

@weiznich
Copy link

During a dependency review we noticed that the signal-hook 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.

During a dependency review we noticed that the signal-hook 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.
@vorner
Copy link
Owner

vorner commented Dec 23, 2025

Hello

I'm not against listing these things. I do wonder, though, if it makes sense to include tests and examples - they are kind of part of the package.

Also, as this is a workspace with sub-crates, does it make sense to also do something with these?

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