Skip to content

Commit b48b602

Browse files
authored
cargo: Include examples folder in release (#112)
Otherwise the crate cannot be published, due to the `[[examples]]` array in `Cargo.toml` not finding the required files. Strangely enough this wasn't a problem before 7a5ad82 ("Simplify example folder structure (#106)") where this crate still used an explicit `path =` for every example, as every example seems to have been [omitted from Cargo.toml]. [omitted from Cargo.toml]: https://docs.rs/crate/gpu-allocator/0.17.0/source/Cargo.toml
1 parent 6c8e150 commit b48b602

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ keywords = ["vulkan", "memory", "allocator"]
1212
documentation = "https://docs.rs/gpu-allocator/"
1313

1414
include = [
15-
"Cargo.toml",
16-
"LICENSE-*",
17-
"src/**",
15+
"/README.md",
16+
"/LICENSE-*",
17+
"/src",
18+
"/examples",
1819
]
1920

2021
[dependencies]

0 commit comments

Comments
 (0)