Cargo Features

AppSurface has no features set by default.

[dependencies]
app-surface = { version = "1.3.0", features = ["webgl", "mac_catalyst", "web-sys", "wasm-bindgen"] }
webgl

Enables webgl of wgpu

wgpu:

Enables the GLES backend on Wasm

* ⚠️ WIP: Currently will also enable GLES dependencies on any other targets.

mac_catalyst

Features from optional dependencies

web-sys implicit feature

Enables web-sys

web-sys:

Bindings for all Web APIs, a procedurally generated crate from WebIDL

wasm-bindgen implicit feature

Enables wasm-bindgen

wasm-bindgen:

Easy support for interacting between JS and Rust