2 ms·
> sometimes multiple versions of the same library If foo needs bar at ^1 and baz needs bar at ^2 and you need foo and baz then your compile would fail if multi
by duped 3y ago
> sometimes multiple versions of the same library
If foo needs bar at ^1 and baz needs bar at ^2 and you need foo and baz then your compile would fail if multiple versions weren't allowed. In other words, this is a feature not a bug.
> Is the Rust ecosystem just dependency hell?
No because "dependency hell" is where you can't resolve dependencies because of simple issues like above in ecosystems that can't handle it.
Also, currently the compilation unit in Rust is a single crate. If you had a lock file that contained all the .o files generated by all your dependencies in C it would be massive too!
- mgaunard 3y agoDependency hell means having many dependencies that are related to each other in non-trivial ways, making it difficult to ensure a compatible set of versions is maintained.