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

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.

主站蜘蛛池模板: 四子王旗| 慈溪市| 宜阳县| 桓仁| 左贡县| 莒南县| 中卫市| 鹰潭市| 库车县| 鸡东县| 闸北区| 西和县| 邵东县| 保亭| 兰考县| 凤翔县| 唐山市| 浠水县| 建水县| 西藏| 资溪县| 泸水县| 和顺县| 旌德县| 德惠市| 嵊州市| 桃江县| 马山县| 静宁县| 同仁县| 皮山县| 乐山市| 迭部县| 墨竹工卡县| 宜昌市| 禹州市| 龙游县| 伊宁县| 陇川县| 房产| 雅安市|