# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "awsm" version = "0.0.11" authors = ["David Komer "] description = "Wrappers for WASM" homepage = "https://github.com/dakom/awsm" documentation = "https://docs.rs/awsm/" readme = "README.md" keywords = ["webgl", "renderer", "3d", "graphics", "gamedev"] categories = ["wasm"] license = "MIT" repository = "https://github.com/dakom/awsm" [profile.release] opt-level = "s" lto = true [lib] crate-type = ["cdylib", "rlib"] [dependencies.beach_map] version = "0.1.2" optional = true [dependencies.futures-preview] version = "=0.3.0-alpha.16" features = ["async-await", "nightly"] optional = true [dependencies.js-sys] version = "0.3.25" [dependencies.log] version = "0.4" [dependencies.rustc-hash] version = "1.0.1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde-wasm-bindgen] version = "0.1.3" optional = true [dependencies.wasm-bindgen] version = "0.2.48" [dependencies.wasm-bindgen-futures] version = "0.3.25" features = ["futures_0_3"] optional = true [dependencies.web-sys] version = "0.3.25" [features] audio = ["web-sys/AudioContext", "web-sys/AudioBuffer", "web-sys/AudioNode", "web-sys/AudioContextOptions", "web-sys/AudioBufferSourceNode", "web-sys/AudioBufferSourceOptions", "web-sys/AudioDestinationNode", "web-sys/AudioBufferOptions", "web-sys/Event"] canvas = ["web-sys/CanvasRenderingContext2d", "web-sys/HtmlCanvasElement"] core = ["data", "audio", "image", "video", "canvas", "input", "loaders", "tick", "window", "webgl"] data = [] default = ["core"] engine = [] image = ["web-sys/HtmlImageElement", "web-sys/ImageBitmap", "web-sys/ImageData"] input = ["web-sys/MouseEvent", "web-sys/Event", "web-sys/Element", "web-sys/Document", "web-sys/EventTarget"] loaders = ["data", "window", "web-sys/Request", "web-sys/RequestInit", "web-sys/Response", "web-sys/ResponseInit", "web-sys/Location", "web-sys/HtmlElement", "web-sys/Url", "web-sys/Blob", "web-sys/BlobPropertyBag", "futures-preview", "wasm-bindgen-futures"] tick = ["window"] video = ["web-sys/HtmlVideoElement"] webgl = ["canvas", "image", "video", "web-sys/WebGlRenderingContext", "web-sys/WebGl2RenderingContext", "web-sys/WebGlUniformLocation", "web-sys/WebGlBuffer", "web-sys/WebGlProgram", "web-sys/WebGlShader", "web-sys/WebGlTexture", "web-sys/WebGlVertexArrayObject", "web-sys/WebGlActiveInfo", "web-sys/OesVertexArrayObject", "web-sys/AngleInstancedArrays", "serde", "serde-wasm-bindgen", "beach_map", "rustc-hash"] window = ["web-sys/Window"]