O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we went through writing unit tests, integration tests, documentation tests, and benchmarks using both rustc and cargo. You learned how to start using Travis CI for your public GitHub project. We wrote the first piece of actual code and a unit test for the book's project. In the next chapter, we'll go through how Rust's type system is built and how we can use it to keep our code safer.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required