Deprecated Rayon APIs
Closed this issue · 1 comments
dtolnay commented
warning: use of deprecated item 'rayon::Configuration': Use `ThreadPoolBuilder`
--> scrape/src/main.rs:16:18
|
16 | let config = rayon::Configuration::new().num_threads(THREADS);
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
warning: use of deprecated item 'rayon::initialize': use `ThreadPoolBuilder::build_global`
--> scrape/src/main.rs:17:5
|
17 | rayon::initialize(config).unwrap();
| ^^^^^^^^^^^^^^^^^