app-surface 1.9.1

Integrate wgpu into your existing iOS, Android and Web apps without relying on winit.
Documentation
[dependencies.cfg-if]
version = "1.0"

[dependencies.glam]
features = ["bytemuck"]
version = "0.30"

[dependencies.log]
version = "0.4"

[dependencies.wasm-bindgen]
optional = true
version = "0.2"

[dependencies.web-sys]
default-features = false
features = ["Document", "Window", "Location", "HtmlCanvasElement", "OffscreenCanvas"]
optional = true
version = "0.3"

[dependencies.wgpu]
version = "28"

[dependencies.winit]
optional = true
version = "0.30"

[features]
cargo-clippy = []
default = ["winit"]
mac_catalyst = []
web_rwh = []
webgl = ["wgpu/webgl"]
winit = ["dep:winit"]

[lib]
name = "app_surface"
path = "src/lib.rs"

[package]
authors = ["jinleili"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Integrate wgpu into your existing iOS, Android and Web apps without relying on winit."
edition = "2024"
keywords = ["android", "SurfaceView", "CAMetalLayer", "Canvas", "wgpu"]
license = "MIT"
name = "app-surface"
readme = false
repository = "https://github.com/jinleili/wgpu-in-app"
rust-version = "1.92"
version = "1.9.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-lite]
version = "2"

[target.'cfg(target_arch = "wasm32")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
default-features = false
version = "0.3"

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15"

[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"

[target.'cfg(target_vendor = "apple")'.dependencies.core-graphics-types]
version = "0.2"

[target.'cfg(target_vendor = "apple")'.dependencies.env_logger]
version = "0.11"

[target.'cfg(target_vendor = "apple")'.dependencies.libc]
default-features = false
version = "0.2"

[target.'cfg(target_vendor = "apple")'.dependencies.objc]
version = "0.2.7"

[target.'cfg(target_vendor = "apple")'.dependencies.raw-window-handle]
version = "0.6"