Changed from result::get() to .unwrap()
Changed rust_num_threads->rust_get_num_cpus, changed future.get()->future.unwrap() (does not exist in mainstream rust at time of writing)