@@ -20,56 +20,13 @@ default-target = "x86_64-pc-windows-msvc"
20
20
features = [" im" ]
21
21
rustdoc-args = [" --cfg" , " docsrs" ]
22
22
23
- [features ]
24
- default = [" gtk" , " image" , " png" , " jpeg" ]
25
- gtk = [" druid-shell/gtk" ]
26
- image = [" druid-shell/image" ]
27
- serde_deps = [" im/serde" , " druid-shell/serde" ]
28
- svg = [" usvg" ]
29
- x11 = [" druid-shell/x11" ]
30
-
31
- # passing on all the image features. AVIF is not supported because it does not
32
- # support decoding, and that's all we use `Image` for.
33
- bmp = [" druid-shell/bmp" ]
34
- dds = [" druid-shell/dds" ]
35
- dxt = [" druid-shell/dxt" ]
36
- farbfeld = [" druid-shell/farbfeld" ]
37
- gif = [" druid-shell/gif" ]
38
- hdr = [" druid-shell/hdr" ]
39
- ico = [" druid-shell/ico" ]
40
- jpeg = [" druid-shell/jpeg" ]
41
- jpeg_rayon = [" druid-shell/jpeg_rayon" ]
42
- png = [" druid-shell/image_png" ]
43
- pnm = [" druid-shell/pnm" ]
44
- tga = [" druid-shell/tga" ]
45
- tiff = [" druid-shell/tiff" ]
46
- webp = [" druid-shell/webp" ]
47
-
48
- # Remember to update this when changing an image feature.
49
- image-all = [" image" , " svg" , " png" , " jpeg" , " jpeg_rayon" , " gif" , " bmp" , " ico" , " tiff" , " webp" , " pnm" , " dds" , " tga" , " farbfeld" , " dxt" , " hdr" ]
50
-
23
+ # NOTE: Make sure to keep wgpu version in sync with the version badge in README.md
51
24
[dependencies ]
52
- druid-shell = {version = " 0.8.0" , default-features = false }
53
-
54
- # TODO - remove unused dependencies - See #10
55
- fluent-bundle = " 0.15.1"
56
- fluent-langneg = " 0.13.0"
57
- fluent-syntax = " 0.11.0"
58
25
fnv = " 1.0.7"
59
26
instant = {version = " 0.1.6" , features = [" wasm-bindgen" ]}
60
27
smallvec = " 1.6.1"
61
28
tracing = " 0.1.29"
62
29
tracing-subscriber = {version = " 0.2.15" , features = [" fmt" , " ansi" ], default-features = false }
63
- unic-langid = " 0.9.0"
64
- unicode-segmentation = " 1.6.0"
65
- xi-unicode = " 0.3.0"
66
-
67
- # Optional dependencies
68
- chrono = {version = " 0.4.19" , optional = true }
69
- im = {version = " 15.0.0" , optional = true }
70
- usvg = {version = " 0.14.1" , optional = true }
71
-
72
- # TODO - make serde a dev dependency
73
30
image = " 0.24.0"
74
31
once_cell = " 1.9.0"
75
32
serde = {version = " 1.0.133" , features = [" derive" ]}
@@ -79,10 +36,9 @@ kurbo = "0.11.0"
79
36
futures-intrusive = " 0.5.0"
80
37
pollster = " 0.3.0"
81
38
parley = { git = " https://github.com/dfrg/parley" , rev = " 4e6109f2ff5847a72dc77971b6fa0942b8474d88" }
82
-
83
- # NOTE: Make sure to keep this in sync with the version badge in README.md
84
39
wgpu = { version = " 0.19.3" }
85
40
swash = " 0.1.15"
41
+ winit = " 0.29.15"
86
42
87
43
[target .'cfg(target_arch="wasm32")' .dependencies ]
88
44
console_error_panic_hook = {version = " 0.1.6" }
@@ -91,10 +47,9 @@ tracing-wasm = {version = "0.2.0"}
91
47
[dev-dependencies ]
92
48
float-cmp = {version = " 0.8.0" , features = [" std" ], default-features = false }
93
49
insta = {version = " 1.8.0" }
94
- # tempfile 3.2.0 broke wasm; I assume it will be yanked (Jan 12, 2021)
95
50
assert_matches = " 1.5.0"
96
51
pulldown-cmark = {version = " 0.8" , default-features = false }
97
- tempfile = " =3.1.0 "
52
+ tempfile = " 3.10.1 "
98
53
99
54
[target .'cfg(not(target_arch="wasm32"))' .dev-dependencies ]
100
55
open = " 1.6"
0 commit comments