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

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.

主站蜘蛛池模板: 建平县| 时尚| 扎鲁特旗| 郑州市| 沂水县| 镇沅| 甘孜县| 封开县| 高安市| 辽阳市| 贵阳市| 新余市| 高雄市| 资源县| 黎城县| 盐津县| 靖宇县| 益阳市| 房产| 瓦房店市| 北京市| 友谊县| 深圳市| 思茅市| 威信县| 崇州市| 西乌珠穆沁旗| 霍城县| 藁城市| 麻阳| 台东县| 土默特左旗| 托克托县| 福州市| 鸡东县| 丽水市| 化州市| 应城市| 郯城县| 土默特左旗| 榆中县|