In today's application landscape, integration is key. Whether you are slowly modernizing a legacy service or starting from scratch with using a new language, programs rarely run in isolation nowadays. Rust is still an exotic technology for many companies and—unfortunately—is usually not considered in the typical SDK. This is why Rust made a point of playing nicely with others, which is why the community can (and will) supply a large number of drivers, service integrations, and so on, by wrapping other (native) libraries.
As developers, we rarely have the luxury of starting completely from scratch (greenfield projects), so in this chapter, we will cover the various ways the Rust language integrates with other languages and technologies. We'll focus on the most popular and useful integrations at the time of writing,...