[vlc-devel] [PATCHv2 5/8] contrib: add cargo-vendor-archive.sh script

Thomas Guillem thomas at gllm.fr
Wed Aug 26 17:34:05 CEST 2020



On Wed, Aug 26, 2020, at 17:10, Rémi Denis-Courmont wrote:
> Le keskiviikkona 26. elokuuta 2020, 15.42.02 EEST Thomas Guillem a écrit :
> > This script can be used to package a cargo vendor archive containing all
> > dependencies of a Rust project. If this archive is uploaded to the VideoLAN
> > FTP, the contrib's cargo will try to use it instead of using crates.io.
> 
> This sounds like it is essentially bypassing the entire contribs system - not 
> exposing the dependencies and not doing normal propagation. And while this 
> probably works and saves time initially, it does not sound like it will scale 
> to more than one Rust packages on contribs, especially if there is a common 
> Rust dependency between several Rust packages.

I don't see how it doesn't scale to more than one Rust package: there will be several vendor archives, maybe holding common dependencies (the only downside is that it will cost a little more disk space in that case). Each Rust project will use its vendor archive, there won't be any conflict with other vendor archives.

What other solution are you proposing?

> 
> -- 
> レミ・デニ-クールモン
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list