# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mod3d-gl" version = "0.1.0" description = """ 3D Models for Gl processing """ homepage = "https://github.com/atthecodeface/model3d" documentation = "https://docs.rs/mod3d" readme = "README.md" keywords = ["geometry"] categories = ["graphics"] license = "MIT OR Apache-2.0" repository = "https://github.com/atthecodeface/model3d" [dependencies.geo-nd] version = ">=0.5.2" [dependencies.gl] version = ">=0.14.0" optional = true [dependencies.indent-display] version = ">=0.1.1" [dependencies.js-sys] version = ">=0.3.64" optional = true [dependencies.mod3d-base] version = "0.1.0" [dependencies.serde] version = "1.0" features = [ "derive", "alloc", "derive", ] optional = true [dependencies.wasm-bindgen] version = ">=0.2.92" optional = true [dependencies.web-sys] version = ">=0.3.69" features = [ "console", "CanvasRenderingContext2d", "Document", "EventTarget", "Element", "HtmlCanvasElement", "HtmlElement", "MouseEvent", "WebGlBuffer", "WebGlVertexArrayObject", "WebGl2RenderingContext", "WebGlProgram", "WebGlShader", "WebGlTexture", "WebGlUniformLocation", "Window", "console", "CanvasRenderingContext2d", "Document", "EventTarget", "Element", "HtmlCanvasElement", "HtmlElement", "MouseEvent", "WebGlBuffer", "WebGlVertexArrayObject", "WebGl2RenderingContext", "WebGlProgram", "WebGlShader", "WebGlTexture", "WebGlUniformLocation", "Window", ] optional = true [features] default = [ "webgl", "opengl", "serde", ] opengl = ["dep:gl"] serde = ["dep:serde"] webgl = [ "dep:wasm-bindgen", "dep:js-sys", "dep:web-sys", ]