Skip to content

Conversation

@SwishSwushPow
Copy link
Contributor

Hi everyone 👋

While reviewing dependency updates in our project (trying to assure supply chain safety) I noticed that there are a couple of scripts, tests, benchmarks etc. that are not necessarily required to be published to crates.io. They make it harder to review ndarray when checking the supply chain and I was wondering if it would be possible to remove these items from the published package. That would remove potential vectors for a security vulnerability in the future and it would also shrink the size of ndarray from 309.5KiB to 237.6KiB compressed. :)

The downside of course would be that e.g. the tests couldn't be run from the crate package anymore, but I'm not sure how popular that is.

I've tried to include all the files that are required (licenses) and that make reviewing things a bit easier (readme and release files can give a good context what has changed between versions).

Best regards!

@nilgoyette
Copy link
Collaborator

Sorry for the delay. A new PR that does about the same thing made me remember your PR. You were first so I checked yours first.

@nilgoyette nilgoyette merged commit e2c76e8 into rust-ndarray:master Dec 16, 2025
15 checks passed
@SwishSwushPow SwishSwushPow deleted the include_fewer_things branch December 17, 2025 12:55
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