# 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.76" name = "app-surface" version = "1.3.2" authors = ["jinleili"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Integrate wgpu into your existing iOS, Android and Web apps without relying on winit." readme = false keywords = [ "android", "SurfaceView", "CAMetalLayer", "Canvas", "wgpu", ] license = "MIT" repository = "https://github.com/jinleili/wgpu-in-app" [lib] name = "app_surface" crate-type = ["rlib"] path = "src/lib.rs" [dependencies.cfg-if] version = "1.0" [dependencies.glam] version = "0.29" [dependencies.log] version = "0.4" [dependencies.pollster] version = "0.3" [dependencies.wasm-bindgen] version = "0.2.95" optional = true [dependencies.web-sys] version = "0.3.72" features = [ "Document", "Window", "Location", "HtmlCanvasElement", "OffscreenCanvas", ] optional = true [dependencies.wgpu] version = "23" [features] default = [] mac_catalyst = [] web_rwh = [] webgl = ["wgpu/webgl"] [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-graphics] version = "0.24" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.env_logger] version = "0.11" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.libc] version = "0.2" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc] version = "0.2.7" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.raw-window-handle] version = "0.6" [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "linux"))'.dependencies.winit] version = "=0.30.5" [target.'cfg(target_arch = "wasm32")'.dependencies.raw-window-handle] version = "0.6" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.95" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.72" [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1" [target.'cfg(target_arch = "wasm32")'.dependencies.winit] version = "=0.30.5" [target.'cfg(target_os = "android")'.dependencies.android_logger] version = "0.14" [target.'cfg(target_os = "android")'.dependencies.ash] version = "0.38" [target.'cfg(target_os = "android")'.dependencies.jni] version = "0.21" [target.'cfg(target_os = "android")'.dependencies.ndk-sys] version = "0.6" [target.'cfg(target_os = "android")'.dependencies.raw-window-handle] version = "0.6"