How to multiprocess and multitask in rust?

hello,
how to multiprocess and multitask in rust?not to be confused with multithreading, I want to spread the tasks of my program over several processes, or just do multiprocess ?

Regards

I don't know any framework for multiprocessing in Rust. There are bindings for MPI though, kafka and rabbitmq clients and a great deal of IO primitives if you want to build your own multiprocessing solution.

As for multi-tasking using a thread-pool instead of a set of OS processes, for asynchronous IO-bound green threads you can use an async multi-threaded runtime like tokio. If you are looking for a synchronous CPU-bound thread pool implementation, I suggest checking out rayon.