The final thing left to cover is src/bin/feruscore.rs. The careful reader will have noted that there's been a suspicious lack of rayon in the implementation so far. In fact, rayon is not in use in this version. Here's the full Cargo.toml for the project:
[package] name = "feruscore" version = "0.2.0" authors = ["Brian L. Troutwine <brian@troutwine.us>"] [dependencies] rand = "0.4" rand_derive = "0.3" libc = "0.2.0" byteorder = "1.0" num_cpus = "1.0" [build-dependencies] cc = "1.0" [dev-dependencies] quickcheck = "0.6" criterion = "0.2" [[bench]] name = "mars_bench" harness = false [[bin]] name = "feruscore" [[bin]] name = "fuzz_target"
As mentioned at the start of the chapter, there were two issues with feruscore ...