aclysma / profiling

Provides a very thin abstraction over instrumented profiling crates like puffin, optick, tracy, and superluminal-perf.
Apache License 2.0
319 stars 39 forks source link

Do not package big files in the crate #39

Closed Uriopass closed 2 years ago

Uriopass commented 2 years ago

profiling is the biggest crate in my 300 dependencies, using 1.7MB for no real reason as it is supposed to be a thin abstraction.

The 1.7MB almost entirely comes from a font for the puffing example and a lot of screenshots, the exclude field in the manifest file should exclude them from any future package.

aclysma commented 2 years ago

The screenshots are used in the readme which shows on crates.io. It looks like crates.io figures out how to link straight to GitHub though so maybe they can be excluded without breaking it. (If it does break it, I'll need to revert it.)