Skip to content

Commit a4a8bc3

Browse files
committed
fix: examples
1 parent 28a131e commit a4a8bc3

File tree

23 files changed

+17
-53
lines changed

23 files changed

+17
-53
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Next release
22

3+
## `dir-structure-tools` crate
4+
5+
The `dir-structure-tools` crate has been split out of the main `dir-structure` crate, and is now a separate crate.
6+
It contains the various wrappers (`Json<T>`, `Toml<T>`, `Yaml<T>`, `Ron<T>`, `CleanDir<T>`, `DeferredRead<T>`, `DeferredReadOrOwn<T>`, `Versioned<T>`, `VersionedHash<T, H>`, `DirChildren<T, F>`, `DirDescendants<T, F>`) which are not strictly necessary for the core functionality of the `dir-structure` crate, but are useful tools for working with directory structures, simplifying the core crate and reducing the number of dependencies for users who don't need these features.
7+
38
## Other changes
49

510
The `ext_filter`, `stem_filter` and `file_prefix_filter` macros now accept attributes.

dir-structure-tools/Cargo.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,10 @@ name = "tests"
134134
path = "tests/tests.rs"
135135
required-features = ["assert_eq", "tools"]
136136

137-
[[example]]
138-
name = "reading_from_include_dir_vfs"
139-
path = "examples/reading_from_include_dir_vfs.rs"
140-
required-features = ["include_dir"]
141-
142137
[[example]]
143138
name = "reading_dir_children_from_include_dir_vfs"
144139
path = "examples/reading_dir_children_from_include_dir_vfs.rs"
145-
required-features = ["include_dir", "tools-dir-children"]
146-
147-
[[example]]
148-
name = "reading_from_git_vfs"
149-
path = "examples/reading_from_git_vfs.rs"
150-
required-features = ["git"]
140+
required-features = ["include_dir", "dir-children"]
151141

152142
[[example]]
153143
name = "deferred_read"

dir-structure-tools/examples/example_dirs/complex/a/a1.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/complex/a/a2.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/complex/b/b1.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/complex/b/b2.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/complex/c/c1.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/complex/c/c2.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/reading/input.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dir-structure-tools/examples/example_dirs/reading/output.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)