Skip to content

Commit 6826e8b

Browse files
authored
core: make autoenums an optional dependency
It is only used for our Path algorithms
1 parent 9a98111 commit 6826e8b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

internal/core/Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ rtti = []
2727
std = [
2828
"euclid/std",
2929
"once_cell/std",
30-
"scoped-tls-hkt",
31-
"lyon_path",
32-
"lyon_algorithms",
33-
"lyon_geom",
34-
"lyon_extra",
30+
"dep:scoped-tls-hkt",
31+
"dep:lyon_path",
32+
"dep:lyon_algorithms",
33+
"dep:lyon_geom",
34+
"dep:lyon_extra",
35+
"dep:auto_enums",
3536
"dep:web-time",
3637
"image-decoders",
3738
"svg",
@@ -82,7 +83,7 @@ const-field-offset = { version = "0.1.5", path = "../../helper_crates/const-fiel
8283
vtable = { workspace = true }
8384

8485
portable-atomic = { version = "1", features = ["critical-section"] }
85-
auto_enums = "0.8.0"
86+
auto_enums = { version = "0.8.0", optional = true }
8687
cfg-if = "1"
8788
derive_more = { workspace = true, features = ["error"] }
8889
euclid = { workspace = true }

0 commit comments

Comments
 (0)