[Pkg-rust-maintainers] rust-criterion: Bootstraping rust-spin/criterion

Samuel Thibault sthibault at debian.org
Tue Aug 20 15:49:36 BST 2024


Samuel Thibault, le mar. 20 août 2024 16:15:30 +0200, a ecrit:
> Currently:
> 
> - rust-spin build-depends on librust-criterion-0.5+default-dev
> - librust-criterion-dev depends on librust-plotters-0.3+{area,line,svg}-series-dev
> - librust-plotters-dev depends on librust-lazy-static-1+default-dev
> - librust-lazy-static-dev depends on librust-spin-0.9+default-dev
> 
> So we have a bootstrapping loop.
> 
> Could rust-criterion perhaps provide a build profile that avoids the
> plotters dependency? (I guess that just disables some output features)

Ah, no, it's an arch:all package, so that won't really fly.

Not sure how to best handle this. Perhaps the optionality of the
plotters feature can be expressed for rust-spin to be able to disable
it?

Samuel



More information about the Pkg-rust-maintainers mailing list