Clean-up in cargo.toml
@@ -26,9 +26,9 @@ num = "0.2"
num-traits = "0.2"
num-derive = "0.3"
log = "0.4"
-wavefront_obj = { version = "7.0", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
bincode = { version = "1.2", optional = true }
+image = { version = "0.22", optional = true, default-features = false, features = ["gif_codec", "jpeg", "ico", "png_codec", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt"]}
[target.'cfg(not(target_arch = "wasm32"))'.build-dependencies]
gl_generator = {version = "0.14"}
@@ -45,23 +45,10 @@ version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
-features = ['Document', 'Element', 'Node', 'HtmlElement', 'HtmlCanvasElement', 'Window', 'Event', 'MouseEvent', 'EventTarget', 'WheelEvent',
- 'KeyboardEvent', 'TouchEvent', 'TouchList', 'Touch','WebGlBuffer',
- 'WebGlFramebuffer',
- 'WebGl2RenderingContext',
- 'WebGlProgram',
- 'WebGlShader',
- 'WebGlTexture',
- 'WebGlUniformLocation',
- 'WebGlVertexArrayObject',
- 'WebGlActiveInfo',
- 'Performance']
-
-[dependencies.image]
-version = "0.22"
-optional = true
-default-features = false
-features = ["gif_codec", "jpeg", "ico", "png_codec", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt"]
+features = ['Document', 'Element', 'Node', 'HtmlElement', 'HtmlCanvasElement', 'Window', 'Event', 'MouseEvent',
+ 'EventTarget', 'WheelEvent', 'KeyboardEvent', 'TouchEvent', 'TouchList', 'Touch','WebGlBuffer','WebGlFramebuffer',
+ 'WebGl2RenderingContext', 'WebGlProgram', 'WebGlShader', 'WebGlTexture', 'WebGlUniformLocation', 'WebGlVertexArrayObject',
+ 'WebGlActiveInfo', 'Performance']
[dev-dependencies]
tri-mesh = "0.5.0"
\ No newline at end of file
