diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2025-01-28 21:52:23 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2025-01-28 22:01:52 -0500 |
commit | c8d925b281bd4281370d571f8daf1f0595881fab (patch) | |
tree | 2f92a165f37367c3adeeba7209f763954750aac7 /sci-libs/libnova/metadata.xml | |
parent | app-text/mdbook: add 0.4.44 (diff) | |
download | gentoo-master.tar.gz gentoo-master.tar.bz2 gentoo-master.zip |
Some early testing gave the following results for compressed
*-vendor.tar.xz (-9e) when invoked using:
cargo vendor --versioned-dirs
versus
cargo vendor-filterer --platform="*-unknown-linux-gnu" --versioned-dirs
- ruffle 65MB->25MB (!)
- maturin 27MB->17MB (needs --all-features)
- mdbook 17MB-> 8MB
By default, this alse limits to default features which is fine if
the ebuild does not customize these. Using --features=full,...
did not work so well for maturin, so using --all-features for now.
Unknown at the moment if this may cause any edge case issues.
Main downside of using this is that it does not integrate as well
with Gentoo workflow vs using pycargoebuild to generate a -deps
and clean LICENSE strings (on a side-note, `cargo license` can also
do --filter-platform, --features, and such albeit it does not
support wildcards at a glance). Ideal would be for pycargoebuild
to do something similar.
Either way, upstreams doing their own vendoring for packages that
are only relevant on specific platforms may be interested in having
this tool available in Gentoo.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sci-libs/libnova/metadata.xml')
0 files changed, 0 insertions, 0 deletions