chronotope / chrono-tz

TimeZone implementations for rust-chrono from the IANA database
Other
228 stars 55 forks source link

Reduce packaged crate files #158

Closed pitdicker closed 3 months ago

pitdicker commented 3 months ago

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 commented 3 months ago

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.