# 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.56" name = "egui_web" version = "0.17.0" authors = ["Emil Ernerfeldt "] include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml", "src/shader/*.glsl"] description = "Bindings for compiling egui code to WASM for a web page" homepage = "https://github.com/emilk/egui/tree/master/egui_web" readme = "README.md" keywords = ["wasm", "web", "egui", "gui", "gamedev"] categories = ["gui", "web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/emilk/egui/tree/master/egui_web" resolver = "2" [package.metadata.docs.rs] all-features = true [lib] crate-type = ["cdylib", "rlib"] [dependencies.bytemuck] version = "1.7" [dependencies.egui] version = "0.17.0" features = ["convert_bytemuck", "single_threaded", "tracing"] default-features = false [dependencies.egui_glow] version = "0.17.0" optional = true default-features = false [dependencies.epi] version = "0.17.0" [dependencies.js-sys] version = "0.3" [dependencies.percent-encoding] version = "2.1" [dependencies.ron] version = "0.7" optional = true [dependencies.serde] version = "1" optional = true [dependencies.tracing] version = "0.1" [dependencies.tts] version = "0.20" optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.web-sys] version = "0.3.52" features = ["BinaryType", "Blob", "Clipboard", "ClipboardEvent", "CompositionEvent", "console", "CssStyleDeclaration", "DataTransfer", "DataTransferItem", "DataTransferItemList", "Document", "DomRect", "DragEvent", "Element", "Event", "EventListener", "EventTarget", "ExtSRgb", "File", "FileList", "FocusEvent", "HtmlCanvasElement", "HtmlElement", "HtmlInputElement", "InputEvent", "KeyboardEvent", "Location", "MediaQueryList", "MouseEvent", "Navigator", "Performance", "Storage", "Touch", "TouchEvent", "TouchList", "WebGl2RenderingContext", "WebGlBuffer", "WebglDebugRendererInfo", "WebGlFramebuffer", "WebGlProgram", "WebGlRenderingContext", "WebGlShader", "WebGlTexture", "WebGlUniformLocation", "WebGlVertexArrayObject", "WheelEvent", "Window"] [features] default = ["default_fonts", "glow"] default_fonts = ["egui/default_fonts"] glow = ["egui_glow", "egui_glow/epi"] persistence = ["egui/persistence", "ron", "serde"] screen_reader = ["tts"] webgl = []