# 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 = "2018" name = "awsm_web" version = "0.45.0" authors = ["David Komer "] description = "Wrappers for WASM" readme = "README.md" keywords = [ "webgl", "renderer", "3d", "graphics", "gamedev", ] categories = ["wasm"] license = "MIT OR Apache-2.0" repository = "https://github.com/dakom/awsm-web" [package.metadata.docs.rs] all-features = true [profile.release] opt-level = "s" lto = true [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.beach_map] version = "0.2.1" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.discard] version = "1.0.4" optional = true [dependencies.futures] version = "0.3.30" optional = true [dependencies.gloo-timers] version = "0.3.0" features = ["futures"] optional = true [dependencies.js-sys] version = "0.3.69" [dependencies.log] version = "0.4.21" [dependencies.rustc-hash] version = "1.1.0" optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] optional = true [dependencies.serde-wasm-bindgen] version = "0.6.5" optional = true [dependencies.serde_json] version = "1.0.114" optional = true [dependencies.wasm-bindgen] version = "0.2.92" [dependencies.wasm-bindgen-futures] version = "0.4.42" optional = true [dependencies.web-sys] version = "0.3.69" [features] all = [ "data", "dom", "audio", "image", "video", "canvas", "input", "loaders", "tick", "window", "workers", "webgl", "serde_iso", "stream", "file", ] audio = [ "web-sys/AudioContext", "web-sys/AudioContextState", "web-sys/AudioBuffer", "web-sys/AudioNode", "web-sys/AudioContextOptions", "web-sys/AudioBufferSourceNode", "web-sys/AudioBufferSourceOptions", "web-sys/AudioDestinationNode", "web-sys/AudioBufferOptions", "web-sys/MediaElementAudioSourceNode", "web-sys/HtmlMediaElement", "web-sys/HtmlAudioElement", "web-sys/AudioParam", "web-sys/GainNode", "web-sys/Event", "beach_map", ] canvas = [ "web-sys/CanvasRenderingContext2d", "web-sys/HtmlCanvasElement", ] data = [] debug_log = [] default = ["file"] disable_webgl_opt = [] dom = [ "web-sys/HtmlElement", "web-sys/Element", "web-sys/DocumentFragment", "web-sys/HtmlCollection", "web-sys/Document", "web-sys/DomTokenList", "web-sys/NodeList", "web-sys/CssStyleDeclaration", "web-sys/DomRect", ] file = [ "data", "web-sys/Window", "web-sys/Document", "web-sys/File", "web-sys/Blob", "web-sys/BlobPropertyBag", "web-sys/Url", "web-sys/HtmlAnchorElement", "web-sys/HtmlInputElement", "web-sys/FileList", "wasm-bindgen-futures", ] 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", "web-sys/AbortController", "web-sys/AbortSignal", "web-sys/Headers", "web-sys/RequestCredentials", "web-sys/File", "futures", "wasm-bindgen-futures", "gloo-timers", "discard", ] serde_iso = [ "serde", "serde_json", "serde-wasm-bindgen", ] stream = ["futures"] tick = [ "window", "workers", ] unwrap_verbose = [] video = ["web-sys/HtmlVideoElement"] webgl = [ "canvas", "image", "video", "data", "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/WebGlRenderbuffer", "web-sys/WebglDrawBuffers", "web-sys/WebGlFramebuffer", "web-sys/WebGlRenderbuffer", "web-sys/WebGlQuery", "web-sys/OesVertexArrayObject", "web-sys/AngleInstancedArrays", "web-sys/WebglDrawBuffers", "serde", "serde-wasm-bindgen", "beach_map", "rustc-hash", ] window = ["web-sys/Window"] workers = [ "web-sys/WorkerGlobalScope", "web-sys/Worker", "web-sys/WorkerOptions", "web-sys/Blob", "web-sys/BlobPropertyBag", ]