Skip to content
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

Add an explicit include section to the Cargo.toml #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weiznich
Copy link

This commit adds an explicit package.include section to the Cargo.toml file to only include relevant rust code into the final package. This decreases the size of the uploaded tar-ball from 1.3 Mb to ~700kb and it also decreases the number of included files from ~140 to ~70. Finally it removes any possibly unwanted binary data from the uploaded package, which follows security best-practices.

Fixes #220

This commit adds an explicit `package.include` section to the
`Cargo.toml` file to only include relevant rust code into the final
package. This decreases the size of the uploaded tar-ball from 1.3 Mb to
~700kb and it also decreases the number of included files from ~140 to
~70. Finally it removes any possibly unwanted binary data from the
uploaded package, which follows security best-practices.

Fixes dropbox#220
@CLAassistant
Copy link

CLAassistant commented Nov 28, 2024

CLA assistant check
All committers have signed the CLA.

@weiznich
Copy link
Author

@danielrh Mind having a look 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.

Uploaded source code contains binary data
2 participants