I have a question to ask to fellow rustaceans. One of my first rust projects was...

@pac85@treehouse.systems

I have a question to ask to fellow rustaceans.

One of my first rust projects was a game engine. A GameEngine tends to be a relatively large codebase and mine was no exception.

Being an hobby project I would sometimes stop working on it and then come back, depending on time availability.

The issue I had is that, every time I'd go back, all my dependencies would be out of date and if I needed to update one for some reason there was no guarantee things would compile because in the huge tangled up dependency graph there might have been something else depending on the library I'm updating or one of it's dependencies and, even though that can work, it can also fail if types are used across libraries.

The other issue is that the binary size of a debug build was something like 500MB. This isn't a major issue though.

The main problem for me was the fact that the bigger the project became the harder it became to go back and do the work of updating deps, this is largely what killed my project but also just feels generally unstustainable.

If I had gone with C this really wouldn't be an issue as most libraries for what I needed are 100% stable and well established. I just wonder how people manage to handle growing hobby projects when they just don't have the time to keep up with the API breakage.

The few rust projects I've done since had a strict "only add a crate if it has no other dependency" sort of policy which is fine but also meant having to reinvent the wheel more than if I was using C/C++.

So my question is whether there's a better way, or things have changed in the meantime, or whether that's just somewhat inevitable with rust.