官术网_书友最值得收藏!

Summary

cargo is Rust's package manager and build tool that is configurable with a manifest called Cargo.toml. The file is used by cargo to build the desired binary with the specified dependencies, profiles, workspaces, and package metadata. During this process, the package state is saved in a file called Cargo.lock. Thanks to its LLVM frontend, Rust compiles to native code on various platforms including the web (using Wasm)—thus keeping a high degree of interoperabilty. Successfully-built packages can be published on a repository called crates.io, a website that is a central hub for available Rust libraries and binaries.

Before we dive into data structures (starting with lists), the next chapter will introduce the ways Rust stores variables and data in memory, whether to copy or to clone, and what sized and unsized types are.

主站蜘蛛池模板: 临夏市| 绿春县| 定南县| 长宁县| 香格里拉县| 太谷县| 苗栗市| 荔波县| 桂东县| 株洲县| 太原市| 南漳县| 扎鲁特旗| 海阳市| 郑州市| 扎赉特旗| 天等县| 昌乐县| 清苑县| 宁海县| 临澧县| 建德市| 沂源县| 黔东| 徐汇区| 鄯善县| 金沙县| 江华| 宕昌县| 资阳市| 绥江县| 襄汾县| 花莲市| 巴南区| 昌邑市| 东海县| 黄梅县| 和平区| 巴林右旗| 辽中县| 名山县|