# 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 = "minwebgl" version = "0.2.0" authors = ["Kostiantyn Mysnyk "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Minimal set of tools for concise WebGL programming" readme = "readme.md" keywords = ["webgl"] license = "MIT" repository = "https://github.com/Wandalen/cg_tools" [lib] name = "minwebgl" path = "src/lib.rs" [dependencies.browser_log] version = "~0.3.0" optional = true [dependencies.bytemuck] version = "1.18.0" features = [ "derive", "derive", ] optional = true [dependencies.js-sys] version = "0.3.70" features = [] optional = true [dependencies.mingl] version = "~0.2.0" optional = true [dependencies.tobj] version = "4.0.2" optional = true default-features = false [dependencies.wasm-bindgen] version = "0.2.93" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.43" optional = true [dependencies.web-sys] version = "0.3.70" features = [ "HtmlCanvasElement", "Window", "Document", "HtmlCollection", "CssStyleDeclaration", "HtmlElement", "ConsoleInstance", "console", "WebGl2RenderingContext", "WebGlProgram", "WebGlShader", "WebGlBuffer", "WebGlVertexArrayObject", "WebGlUniformLocation", "RequestInit", "RequestMode", "Request", "Response", "Location", "HtmlImageElement", "WebGlTexture", ] optional = true [features] constants = [] default = [ "enabled", "constants", "diagnostics", "file", "future", ] diagnostics = [ "mingl/diagnostics", "model", ] enabled = [ "dep:mingl", "dep:bytemuck", "dep:browser_log", "dep:wasm-bindgen-futures", "dep:wasm-bindgen", "dep:js-sys", "dep:web-sys", ] file = [] full = ["default"] future = [] model = [ "mingl/model", "tobj/async", ] ndarray = ["mingl/ndarray"] [lints.clippy] absolute_paths = "allow" inline_always = "allow" module_name_repetitions = "allow" pedantic = "warn" restriction = "warn" single_call_fn = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" undocumented_unsafe_blocks = "deny" [lints.rust] future_incompatible = "deny" rust_2018_idioms = "deny" unsafe-code = "warn"