I'm trying to learn Rust from an example on data-parallelism in this linked rust-cookbook example.
However, when I run the code (with what I believe are the correct dependencies), the parallel iterator functions do not complete. This is the exact repo I am struggling with.
When I run cargo run
at the root of the project containing 5 images, I get the following in the console.
Current number threads: 4
Saving 5 thumbnails into 'thumbnails'...
However, none of the thumbnails are created, and the program never exits. The code compiles.
I have the same problem in another little CLI I'm working on to try to learn Rust, but I think the example from the cookbook is easier to work with.
Any tips, even with what I might look for, would be greatly appreciated. I wonder if it is machine relating.