File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,9 @@ build those crates. Cargo is actually a package that contains the binary crate
3333for the command-line tool you’ve been using to build your code. The Cargo
3434package also contains a library crate that the binary crate depends on. Other
3535projects can depend on the Cargo library crate to use the same logic the Cargo
36- command-line tool uses.
37-
38- A crate can come in one of two forms: a binary crate or a library crate. A
39- package can contain as many binary crates as you like, but at most only one
40- library crate. A package must contain at least one crate, whether that’s a
41- library or binary crate.
36+ command-line tool uses. A package can contain as many binary crates as you
37+ like, but at most only one library crate. A package must contain at least one
38+ crate, whether that’s a library or binary crate.
4239
4340Let’s walk through what happens when we create a package. First we enter the
4441command ` cargo new my-project ` :
You can’t perform that action at this time.
0 commit comments