Just learning — packages, crates, modules, use, paths

Time:2021-3-8

Packages:A cargo feature allows us to build tests and share Crites
Crates:Build the module tree of the library or executable
Modulesanduse:Let’s control the organization, scope and privacy of the path
Paths:A method of naming a project, such as a structure, function, or module

Recommended Today

Rust and python: why rust can replace Python

In this guide, we compare the rust and python programming languages. We will discuss the applicable use cases in each case, review the advantages and disadvantages of using rust and python, and explain why rust might replace python. I will introduce the following: What is rust? What is Python? When to use rust When to […]