Add an ascii directory tree to the project layout section
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Sun, 15 May 2016 14:27:40 +0000 (10:27 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Sun, 15 May 2016 14:27:40 +0000 (10:27 -0400)
src/doc/guide.md

index ffd96005a891d7a895a89b5dcac9c7eb0c273b27..d619fe11b388fcc1f999841020f6706654f3ec00 100644 (file)
@@ -211,6 +211,23 @@ Did our date match? true</code></pre>
 Cargo uses conventions for file placement to make it easy to dive into a new
 Cargo project:
 
+```shell
+.
+├── Cargo.lock
+├── Cargo.toml
+├── benches
+│   └── large-input.rs
+├── examples
+│   └── simple.rs
+├── src
+│   ├── bin
+│   │   └── another_executable.rs
+│   ├── lib.rs
+│   └── main.rs
+└── tests
+    └── some-integration-tests.rs
+```
+
 * `Cargo.toml` and `Cargo.lock` are stored in the root of your project.
 * Source code goes in the `src` directory.
 * The default library file is `src/lib.rs`.