Commit 7a5ad82
authored
Simplify example folder structure (#106)
Examples are intended to be single files or modules at best, not
separate "crate-like" directories with a `src/` subdirectory yet without
`Cargo.toml`. Not only is this [package layout documented], it also
removes the need for a specific `path =` setup as `cargo` is now able to
relate the `name` of every `[[example]]` to a specific file or directory
(`examples/<name>.rs` or `examples/<name>/main.rs`).
[package layout documented]: https://doc.rust-lang.org/cargo/guide/project-layout.html1 parent fb8de3b commit 7a5ad82
17 files changed
Lines changed: 0 additions & 5 deletions
File tree
- examples
- d3d12-visualization
- dxil
- shaders
- vulkan-visualization
- shaders
- spirv
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
72 | 69 | | |
73 | | - | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments