Repository: rusoto/rusoto (language: rust)

Issue:
Update to Rayon 1.0
🎉 https://crates.io/crates/rayon is at 1.0. Let's use that in our codegen project.

Update https://github.com/rusoto/rusoto/blob/master/service_crategen/Cargo.toml#L20 to use the new version, generate the services and that should do it. 😄 

https://github.com/rusoto/rusoto/tree/master/service_crategen has more info on how to generate the services.


Discussion / hints:
To be clear, the goal here is to use a threadpool to run the "generate service" routine? I always thought of Rayon as more suitable for generate a single value by parallelizing steps of the computation.
I've actually never used Rayon to generate a single value like that. 😆 

Rusoto's codegen crate matches how I usually use it: given a list/slice/vector of items to do work on, that are all independent of each other, using `par_iter` instead of `_iter` goes from single threaded to multithreaded with almost zero fuss. 👍 

Fix patch:
diff --git a/service_crategen/Cargo.toml b/service_crategen/Cargo.toml
index 253729a6e48..1c7e28d1cde 100644
--- a/service_crategen/Cargo.toml
+++ b/service_crategen/Cargo.toml
@@ -17,7 +17,7 @@ clap = "2.23.3"
 hoedown = "6.0.0"
 hyper = "0.10.0"
 lazy_static = "1.0"
-rayon = "0.7.0"
+rayon = "1.0.0"
 regex = "0.2.1"
 rustfmt-nightly = "0.3.4"
 serde = "1.0.0"


Test patch: