# 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.78" name = "luminol-eframe" version = "0.4.0" authors = ["Emil Ernerfeldt "] build = "build.rs" include = [ "LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml", "data/icon.png", ] autobins = false autoexamples = false autotests = false autobenches = false description = "egui framework - write GUI apps that compiles to web and/or natively" homepage = "https://github.com/emilk/egui/tree/master/crates/eframe" readme = "README.md" keywords = [ "egui", "gui", "gamedev", ] categories = [ "gui", "game-development", ] license = "GPL-3.0" repository = "https://github.com/emilk/egui/tree/master/crates/eframe" [package.metadata.docs.rs] all-features = true rustc-args = ["--cfg=web_sys_unstable_apis"] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "luminol_eframe" path = "src/lib.rs" [dependencies.ahash] version = "0.8.11" [dependencies.document-features] version = "0.2.8" [dependencies.egui] version = "0.28.1" features = [ "serde", "bytemuck", "log", ] [dependencies.log] version = "0.4" features = ["std"] [dependencies.parking_lot] version = "0.12.3" features = [ "nightly", "deadlock_detection", ] [dependencies.raw-window-handle] version = "0.6.0" [dependencies.ron] version = "0.8.1" features = ["integer128"] optional = true [dependencies.rwh_05] version = "0.5.2" features = ["std"] optional = true package = "raw-window-handle" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.static_assertions] version = "1.1.0" [dependencies.web-time] version = "0.2" [features] __screenshot = [] accesskit = [ "egui/accesskit", "egui-winit/accesskit", ] android-game-activity = ["egui-winit/android-game-activity"] android-native-activity = ["egui-winit/android-native-activity"] default = [ "accesskit", "default_fonts", "wgpu", "wayland", "web_screen_reader", "winit/default", "x11", ] default_fonts = ["egui/default_fonts"] glow = [] persistence = [ "directories", "egui-winit/serde", "egui/persistence", "ron", "serde", ] puffin = [ "dep:puffin", "egui/puffin", "luminol-egui-wgpu?/puffin", "egui-winit/puffin", ] wayland = [ "egui-winit/wayland", "luminol-egui-wgpu?/wayland", ] web_screen_reader = [ "web-sys/SpeechSynthesis", "web-sys/SpeechSynthesisUtterance", ] wgpu = [ "dep:wgpu", "dep:luminol-egui-wgpu", "dep:pollster", ] x11 = [ "egui-winit/x11", "luminol-egui-wgpu?/x11", ] [target."cfg(any(target_os = \"macos\"))".dependencies.objc2] version = "0.5.1" [target."cfg(any(target_os = \"macos\"))".dependencies.objc2-app-kit] version = "0.2.0" features = [ "NSApplication", "NSImage", "NSMenu", "NSMenuItem", "NSResponder", ] [target."cfg(any(target_os = \"macos\"))".dependencies.objc2-foundation] version = "0.2.0" features = [ "block2", "NSData", "NSString", ] [target."cfg(any(target_os = \"windows\"))".dependencies.winapi] version = "0.3.9" features = ["winuser"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.directories] version = "5" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.egui-winit] version = "0.28.1" features = [ "clipboard", "links", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin] version = "0.31" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin-winit] version = "0.4" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.image] version = "0.25.0" features = [ "png", "png", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.luminol-egui-wgpu] version = "0.4.0" features = ["winit"] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.pollster] version = "0.3" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.puffin] version = "0.19" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.wgpu] version = "0.20.0" features = [ "naga-ir", "metal", "webgpu", ] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.winit] version = "0.29.4" features = ["rwh_06"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.bytemuck] version = "1.14.0" features = [ "extern_crate_alloc", "derive", "min_const_generics", ] [target."cfg(target_arch = \"wasm32\")".dependencies.flume] version = "0.11.1" [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3" [target."cfg(target_arch = \"wasm32\")".dependencies.luminol-egui-wgpu] version = "0.4.0" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.luminol-web] version = "0.4.0" [target."cfg(target_arch = \"wasm32\")".dependencies.once_cell] version = "1.18.0" [target."cfg(target_arch = \"wasm32\")".dependencies.oneshot] version = "0.1.6" [target."cfg(target_arch = \"wasm32\")".dependencies.percent-encoding] version = "2.1" [target."cfg(target_arch = \"wasm32\")".dependencies.portable-atomic] version = "1.5.1" features = ["float"] [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.91" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.42" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.67" 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", "MediaQueryListEvent", "MouseEvent", "Navigator", "Node", "NodeList", "Performance", "ResizeObserver", "ResizeObserverBoxOptions", "ResizeObserverEntry", "ResizeObserverOptions", "ResizeObserverSize", "Storage", "Touch", "TouchEvent", "TouchList", "WebGl2RenderingContext", "WebglDebugRendererInfo", "WebGlRenderingContext", "WheelEvent", "Window", "MutationObserver", "MutationObserverInit", "MutationRecord", "WorkerLocation", "WorkerNavigator", ] [target."cfg(target_arch = \"wasm32\")".dependencies.wgpu] version = "0.20.0" features = [ "naga-ir", "webgpu", ] optional = true [lints.clippy] all = "warn" doc_markdown = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" missing_safety_doc = "warn" too_many_lines = "allow" unnecessary_wraps = "warn" [lints.rust] elided_lifetimes_in_paths = "forbid" rust_2018_idioms = "warn" unsafe_code = "warn" unsafe_op_in_unsafe_fn = "forbid"