Needed scoped threads for use in unit tests, but wanted something simpler and less boilerplate. So I came up with this: https://docs.rs/easy-parallel pic.twitter.com/vwn6IBHUYw
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Seems a bit dangerous for production code, but fair enough, pool would be an overkill for a separate small utility. Is there an example on how to use it with a 3rd-party threadpool perhaps?
Also a potential feature request: would it be possible to provide own spawner like rayon does in https://docs.rs/rayon/1.3.0/rayon/struct.ThreadPoolBuilder.html#method.spawn_handler …? Some platforms (*cough* Wasm *cough*) require own ways to spawn threads, not compatible with std::thread and this would help a lot.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.