Well, C++ (and C) is a complete mess. Its a wild west - and not standarized. Thinking about "packages" in this concept does not make sense. The amount of software is vestly huge and very hard to find. In my previous workplace, I used a set of libraries/programs that were developed from the 80s. Still compiled and working.
Comparing the number of C++ packages to JavaScript packages is like comparing Oranges to ... nails. Just does not make sense.
Again, the quality of the ecosystem in Rust, and useness of the libraries out of the box - is by far superior to C++/C. Also the usability.
(Note: I don't program in Rust, but "almost finished the tutorial" and played with Go,C,C++,Python,NodeJS and some other things)