Skip to content

Exclude development scripts from published package#103

Open
weiznich wants to merge 3 commits into
kubo:masterfrom
GiGainfosystems:exclude_scripts
Open

Exclude development scripts from published package#103
weiznich wants to merge 3 commits into
kubo:masterfrom
GiGainfosystems:exclude_scripts

Conversation

@weiznich
Copy link
Copy Markdown
Contributor

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

This PR also replaces paste by pastey (a maintained successor) and fixes some compiler warnings

During a dependency review we noticed that the oracle 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
Copy Markdown
Contributor Author

weiznich commented Feb 3, 2026

@kubo Any chance to get you looking at this?

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.

1 participant