File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,3 @@ You can override these defaults by explicitly declaring your targets in the `Car
46
46
[ ` cargo ` 's documentation] ( https://doc.rust-lang.org/cargo/reference/cargo-targets.html#cargo-targets ) for more details.
47
47
48
48
Keep in mind that while a package can contain multiple crates, it can only contain one library crate.
49
-
50
- ## Scaffolding a new package
51
-
52
- You can use ` cargo ` to scaffold a new package:
53
-
54
- ``` bash
55
- cargo new my-binary
56
- ```
57
-
58
- This will create a new folder, ` my-binary ` , containing a new Rust package with the same name and a single
59
- binary crate inside. If you want to create a library crate instead, you can use the ` --lib ` flag:
60
-
61
- ``` bash
62
- cargo new my-library --lib
63
- ```
You can’t perform that action at this time.
0 commit comments