Skip to content

Conversation

@weiznich
Copy link
Contributor

@weiznich weiznich commented Feb 3, 2026

During a dependency review we noticed that the smallvec crate includes a development script. This development script 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.

The same as #397 but for the v2 branch

During a dependency review we noticed that the smallvec crate includes a development script. This development script 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.
@mrobinson mrobinson changed the title Exclude development script Exclude development script from Cargo publishing Feb 3, 2026
@mrobinson
Copy link
Member

If we run into an issue with this when publishing, we can adjust the list.

@mrobinson mrobinson added this pull request to the merge queue Feb 3, 2026
Merged via the queue into servo:v2 with commit fe1abef Feb 3, 2026
6 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