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

Reduce packaged crate files #158

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Conversation

pitdicker
Copy link
Contributor

There is no need to include all the scripts, C code and auxilary information of the time zone database in the package of Chrono-TZ.

I added an inlude-list in cargo.toml, and a CI run to test we included all files necessary to build.
This reduces the size of our crates.io package from 622 kB to 366 kB.

@pitdicker
Copy link
Contributor Author

CHANGELOG.md is not included, because with only 7 of the 30 releases it is quite useless. Delete it once I've added everything to the GitHub releases?

rustfmt.toml is also not included as it is not necessary for building the crate.

I did keep tz/LICENSE as the only extra file from the time zone database that is not needed for building the crate.

@pitdicker pitdicker merged commit 59b7a54 into chronotope:main Apr 3, 2024
4 checks passed
@pitdicker pitdicker deleted the reduce_crate_files branch April 3, 2024 19:51
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.

None yet

2 participants