Open d-e-s-o opened 4 years ago
Update:
differential-dataflow
and timely
as part of the work for 0.10.3
we have synced syn
, proc-macro2
, and quote
.cpuprofiler
intends to release a new version by the end of the week.rand
is another candidate.
Filing this issue to track cleaning up of "duplicate" Rust dependencies. Mostly out of curiosity when we were looking a bit at how to speed up the CI pipeline, I thought about reducing the number of dependencies.
cargo-tree
helps visualize our dependency (for the Rust part of the project). Here is the tree:I noticed a few low hanging fruit that have the potential to marginally speed up compilation and/or reduce memory foot print. Even if there is little effect, it is probably worth the (presumably small) effort to clean things up as newer versions typically contains bug fixes or other improvements.
In particular, in the tree above we can see that
syn
,proc-macro2
, andquote
are compiled in different versions.syn
in turn has a transitive dependency onunicode-xid
, which we now also compile twice. Lastly, there islazy_static
being used in two versions.I've upstreamed changes to make
differential-dataflow
andtimely
use 1.0 versions of the crates. All we have to do there is wait for new releases and pick them up.lazy_static
is consumed in an old version bycpuprofiler
and it seems the project is dead (based on a pull request in it that never received a response). But I'll create a pull request myself and see.