# 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" rust-version = "1.60" name = "mugltf" version = "0.1.2" authors = ["Andy K. S. Wong "] description = "Minimal glTF 2.0 asset loader for Rust" homepage = "https://github.com/andykswong/muge/tree/main/crates/mugltf" documentation = "https://docs.rs/mugltf" readme = "README.md" keywords = [ "3d", "asset", "gltf", "scene", "muge", ] categories = [ "graphics", "parsing", "rendering::data-formats", "wasm", ] license = "MIT" repository = "https://github.com/andykswong/muge" resolver = "2" [package.metadata.docs.rs] features = [ "std", "serde", "fetch-loader", "file-loader", "gltf-name", "gltf-extras", "gltf-extensions", ] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" optional = true [dependencies.data-url] version = "0.1" optional = true [dependencies.image] version = "0.24" features = [ "jpeg", "png", ] optional = true default-features = false [dependencies.js-sys] version = "0.3" optional = true [dependencies.mugl] version = "0.1" default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] optional = true default-features = false [dependencies.serde_repr] version = "0.1" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true default-features = false [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.web-sys] version = "0.3" features = [ "Document", "Element", "Headers", "HtmlImageElement", "Request", "RequestInit", "RequestMode", "Response", "Window", ] optional = true [dev-dependencies.assert-json-diff] version = "2.0" [dev-dependencies.pollster] version = "0.2" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = [ "std", "serde", "gltf-name", ] fetch-loader = [ "std", "base64", "wasm-bindgen", "js-sys", "web-sys", "wasm-bindgen-futures", ] file-loader = [ "std", "data-url", "image", ] gltf-extensions = [] gltf-extras = [] gltf-name = [] serde = [ "dep:serde", "serde_repr", "serde_json", "mugl/serde", ] std = [ "serde_json?/std", "wasm-bindgen?/std", ]