It doesn't have a great ecosystem of libraries, but it _does_ have a good way to manage them:
https://dune.build/, which as I understand it was developed at Jane Street (lots of code and dependencies) and is now open source.
> Even rust with all its hype lacks in this area imo.
This is surprising to me! I find that Rust has pretty excellent tooling, and Cargo is substantially better than the package manager in most other languages...