Summary

We covered a lot of ground in this chapter and saw that, for most of the time, cargo makes building a Rust application simple. When testing your own crates outside the project it was originally created in, we need to use rustc in order to compile. We saw how to create our own libraries, how to add unit tests, how to effectively utilize the use statement, and how to call crates and scopes by different names.

In our next chapter, we will be looking at how we can really make use of Rust's in-built memory protection system to fully utilize concurrency and parallelism.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset