@@ -273,16 +273,11 @@ is still a work in progress. However, it is already good enough to use for many
273
273
Rust projects, and so it is assumed that Rust projects will use Cargo from the
274
274
beginning.
275
275
276
- Programmers love car analogies, so I've got a good one for you to think about
277
- the relationship between ` cargo ` and ` rustc ` : ` rustc ` is like a car, and
278
- ` cargo ` is like a robotic driver. You can drive your car yourself, of course,
279
- but isn't it just easier to let a computer drive it for you?
280
-
281
- Anyway, Cargo manages three things: building your code, downloading the
282
- dependencies your code needs, and building the dependencies your code needs.
283
- At first, your program doesn't have any dependencies, so we'll only be using
284
- the first part of its functionality. Eventually, we'll add more. Since we
285
- started off by using Cargo, it'll be easy to add later.
276
+ Cargo manages three things: building your code, downloading the dependencies
277
+ your code needs, and building the dependencies your code needs. At first, your
278
+ program doesn't have any dependencies, so we'll only be using the first part of
279
+ its functionality. Eventually, we'll add more. Since we started off by using
280
+ Cargo, it'll be easy to add later.
286
281
287
282
Let's convert Hello World to Cargo. The first thing we need to do to begin using Cargo
288
283
is to install Cargo. To do this, we need to build it from source. There are no binaries
0 commit comments