Avatar for the maciejhirsz user
maciejhirsz
logos
BlogDocsChangelog

Use `package.include` in all published crates

#497Merged
Comparing
42triangles:master
(
57ff85f
) with
master
(
331da82
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
6
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

identifiers
tests/benches/bench.rs::benches::bench_count_ok::count_ok::identifiers
CodSpeed Performance Gauge
0%
4.6 µs
4.6 µs
keywords_operators_and_punctators
tests/benches/bench.rs::benches::bench_count_ok::count_ok::keywords_operators_and_punctators
CodSpeed Performance Gauge
0%
12.9 µs
12.9 µs
strings
tests/benches/bench.rs::benches::bench_count_ok::count_ok::strings
CodSpeed Performance Gauge
0%
3.9 µs
3.9 µs
identifiers
tests/benches/bench.rs::benches::bench_iterate::iterate::identifiers
CodSpeed Performance Gauge
0%
4.6 µs
4.6 µs
keywords_operators_and_punctators
tests/benches/bench.rs::benches::bench_iterate::iterate::keywords_operators_and_punctators
CodSpeed Performance Gauge
0%
12.9 µs
12.9 µs
strings
tests/benches/bench.rs::benches::bench_iterate::iterate::strings
CodSpeed Performance Gauge
0%
3.9 µs
3.9 µs

Commits

Click on a commit to change the comparison range
Base
master
331da82
0%
Use `package.include` in all published crates This reduces the size of the `logos` considerably, while others stay the same regarding their compressed size. Excluding `RELEASE-PROCESS.md`, `book/**`, `logos.svg`, `logos.png` (this one is especially large) and `release.toml` reduces the compressed size of the `logos` crate from 1.8MiB to 28.1KiB, resulting in a very conservative estimate of a reduction of 233.6GiB monthly for downloading the crate from crates.io (using the number of downloads of the previous version, as of 2025-08-20). It would be possible to also remove tests & examples for even further reductions in size: without `package.include` with `package.include` full compressed full compressed logos-codegen 275.1KiB 54.8KiB 211.0KiB 49.3KiB logos-derive 20.4KiB 8.0KiB 20.5KiB 8.0KiB logos 1.8MiB 1.6MiB 59.0KiB 18.9KiB logos-cli 48.5KiB 15.5KiB 41.4KiB 14.1KiB Changes of data used in that case: per dl #dls/month bandwidth/month logos-codegen -5.5KiB 149416 -802.5MiB logos-derive ±0.0KiB 149368 ±0.0KiB logos -1.6MiB 149522 -233.6GiB logos-cli -l.4KiB 90 -126.0KiB
57ff85f
12 days ago
by 42triangles
© 2025 CodSpeed Technology
Home Terms Privacy Docs