-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to reduce the dependency graph #321
Comments
You don't need regex for xcursor-rs crate at all, so it could be all wiped if you're fine taking similar impl from someone under wayland-rs upstream. if you're fine I can send patches. |
If regex is removed, it should be easy to get rid of lazy_static too, by replacing it with once_cell which wayland-commons already depends on. |
Basically one can be replaced with another, right, since after regex removal both should be just leafs on this graph afaics, so it's a matter of preference, what suits more, I guess? |
regex was removed. |
Yes, now the graph looks like that: One I'd like to figure out how to remove would be |
Why |
Mostly because |
well, we see that |
What about this instead? esposm03/xcursor-rs#6 :) |
How much it reduces @jplatte ? |
That removes the dependency on |
The mentioned PR was merged and xcursor version was bumped, so graph could be updated. |
By playing with the command line flags until I had this: I got the following updated graph: |
By excluding wayland-scanner and its dependencies (I'm guessing it's not flagged as a build dependency because it's part of the workspace) and target-specific features for platforms that wayland doesn't run on ( Of which I think
Can't say much about the other ones, but I think there won't be much more to get rid of :) |
tempfile shouldn't be on a graph as well, I guess, since it was excluded manually from previous graphs, since it's a build time dependency. |
|
Oh, okay, that's what going wrong :) So all that's left to do it potentially find a replacement for |
Well, parking-lot will be difficult to get rid of by itself, but will probably disappear when I implement the ideas from #317. I'm not sure if there is much to gain by getting rid of |
the dependency graph of
wayland-rs
is relatively large, which seems a little big for a low-level crate like this. We probably can try to reduce it.The text was updated successfully, but these errors were encountered: