Skip to content

Commit 0f0abfd

Browse files
committed
chore(core): simplify deps
1 parent 4b9bfb4 commit 0f0abfd

File tree

2 files changed

+1
-91
lines changed

2 files changed

+1
-91
lines changed

Cargo.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dir-structure/Cargo.toml

Lines changed: 1 addition & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[features]
16-
default = ["derive", "tools", "_all"]
17-
json = ["dep:serde", "dep:serde_json", "tools-data-formats"]
18-
toml = ["dep:serde", "dep:toml", "tools-data-formats"]
19-
yaml = ["dep:serde", "dep:serde_yaml", "tools-data-formats"]
20-
ron = ["dep:serde", "dep:ron", "tools-data-formats"]
16+
default = ["derive", "_all"]
2117
async = ["dep:pin-project", "dep:futures", "dir-structure-macros?/async"]
2218
tokio = ["dep:tokio", "async"]
2319
include_dir = [
@@ -29,77 +25,14 @@ resolve-path = ["derive", "dir-structure-macros/resolve-path"]
2925
assert_eq = ["dep:assert_eq"]
3026
derive = ["dep:dir-structure-macros"]
3127

32-
image = ["dep:image", "tokio?/rt"]
33-
image-format-png = ["image", "image/png"]
34-
image-format-gif = ["image", "image/gif"]
35-
image-format-jpeg = ["image", "image/jpeg"]
36-
image-format-webp = ["image", "image/webp"]
37-
image-format-tiff = ["image", "image/tiff"]
38-
image-format-tga = ["image", "image/tga"]
39-
image-format-bmp = ["image", "image/bmp"]
40-
image-format-ico = ["image", "image/ico"]
41-
image-format-hdr = ["image", "image/hdr"]
42-
image-format-exr = ["image", "image/exr"]
43-
image-format-pnm = ["image", "image/pnm"]
44-
image-format-ff = ["image", "image/ff"]
45-
image-format-avif = ["image", "image/avif"]
46-
image-format-qoi = ["image", "image/qoi"]
47-
all-image-formats = [
48-
"image-format-png",
49-
"image-format-gif",
50-
"image-format-jpeg",
51-
"image-format-webp",
52-
"image-format-tiff",
53-
"image-format-tga",
54-
"image-format-bmp",
55-
"image-format-ico",
56-
"image-format-hdr",
57-
"image-format-exr",
58-
"image-format-pnm",
59-
"image-format-ff",
60-
"image-format-avif",
61-
"image-format-qoi",
62-
]
63-
64-
tools-atomic-dir = []
65-
tools-clean-dir = []
66-
tools-data-formats = []
67-
tools-deferred-read = []
68-
tools-deferred-read-or-own = []
69-
tools-dir-children = []
70-
tools-dir-descendants = []
71-
tools-fmt-wrapper = []
72-
tools-try-parse = []
73-
tools-versioned = []
74-
tools-versioned-hash = []
75-
tools = [
76-
"tools-atomic-dir",
77-
"tools-clean-dir",
78-
"tools-deferred-read",
79-
"tools-deferred-read-or-own",
80-
"tools-dir-children",
81-
"tools-dir-descendants",
82-
"tools-fmt-wrapper",
83-
"tools-try-parse",
84-
"tools-versioned",
85-
"tools-versioned-hash",
86-
]
87-
8828
_all = [
89-
"json",
90-
"toml",
91-
"yaml",
92-
"ron",
9329
"async",
9430
"tokio",
9531
"include_dir",
9632
"git",
9733
"resolve-path",
9834
"assert_eq",
9935
"derive",
100-
"image",
101-
"all-image-formats",
102-
"tools",
10336
]
10437

10538
[dev-dependencies]
@@ -111,28 +44,11 @@ futures = { version = "0.3", optional = true, default-features = false, features
11144
"io-compat",
11245
] }
11346
pin-project = { workspace = true, optional = true }
114-
ron = { version = "0.11", optional = true, default-features = false, features = [
115-
"std",
116-
] }
117-
serde = { version = "1.0", optional = true, default-features = false, features = [
118-
"derive",
119-
"std",
120-
] }
121-
serde_json = { version = "1.0", optional = true, default-features = false, features = [
122-
"std",
123-
] }
124-
serde_yaml = { version = "0.9", optional = true, default-features = false }
125-
toml = { version = "0.9", optional = true, default-features = false, features = [
126-
"display",
127-
"serde",
128-
"parse",
129-
] }
13047
tokio = { version = "1", optional = true, default-features = false, features = [
13148
"fs",
13249
"io-util",
13350
] }
13451
include_dir = { version = "0.7", optional = true, default-features = false }
135-
image = { version = "0.25", optional = true, default-features = false }
13652
assert_eq = { workspace = true, optional = true }
13753
git2 = { workspace = true, optional = true }
13854

0 commit comments

Comments
 (0)