-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude more files from the published crate #37
Conversation
Thank you for the PR, this is a welcome improvement! I'm curious to know whether you have found out about any additional unnecessary files with the help of the |
No, but I just tried building and running it on the branch corresponding to this PR, and it said:
If you really want to prune out everything unnecessary, based on
you could probably exclude |
Thanks for sharing the results of running After that, this PR should be good to merge. 🚀 |
The tests were already excluded from the published crate. This change adds `Makefile`, `rustfmt.toml`, `.gitignore`, and the contents of `benchmark-builds/` and `.github/`, all of which are not used by cargo to build the published crate.
63289a7
to
1af2b7d
Compare
Ok, done!
Thanks for reviewing this! The funny thing is, as the maintainer of the freshly-unretired |
@musicinmybrain crates.io packages include Cargo can't use tests from crates.io packages, and doesn't even verify that they compile when making packages. This is effectively an unsupported workflow, and files that weren't meant to be there. |
I wonder if what you suggest could be a useful option for our I forgot to say that, as it is, there are usually still some doc-tests that we can run in the main sources, which gives us some confidence in the package. Either way, this PR should be ready to merge. |
In the case of this package, there is actually a property test that in the I was going to merge this PR now, but @kornelski beat me to it - thank you both 😄 |
The tests were already excluded from the published crate. This change adds
Makefile
,rustfmt.toml
, and the contents ofbenchmark-builds/
, all of which are not used by cargo to build the published crate.This was suggested in downstream packaging review.