gasm-host 0.16.0

Native host for gasm games (a portable game runtime on WebAssembly): wasmtime, WebGPU via wgpu, audio, gamepads, WebSocket networking and storage. Includes the gasm-run runner
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "gasm-host"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native host for gasm games (a portable game runtime on WebAssembly): wasmtime, WebGPU via wgpu, audio, gamepads, WebSocket networking and storage. Includes the gasm-run runner"
homepage = "https://gasm.emdzej.pl"
documentation = "https://gasm.emdzej.pl/dev/runners"
readme = "README.md"
keywords = [
    "gamedev",
    "wasm",
    "wasmtime",
    "webgpu",
    "runtime",
]
categories = [
    "game-development",
    "wasm",
    "emulators",
]
license = "MIT"
repository = "https://github.com/emdzej/gasm"

[features]
default = ["window"]
window = [
    "dep:winit",
    "dep:cpal",
    "dep:gilrs",
    "dep:arboard",
    "dep:font8x8",
]

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

[[bin]]
name = "gasm-run"
path = "src/main.rs"

[[example]]
name = "embed"
path = "examples/embed.rs"

[dependencies.arboard]
version = "3"
features = ["image-data"]
optional = true
default-features = false

[dependencies.cpal]
version = "0.18"
optional = true

[dependencies.font8x8]
version = "0.3"
optional = true
default-features = false

[dependencies.getrandom]
version = "0.3"

[dependencies.gilrs]
version = "0.11"
optional = true

[dependencies.libloading]
version = "0.8"

[dependencies.png]
version = "0.18"

[dependencies.pollster]
version = "1"

[dependencies.rustc-hash]
version = "2"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.rustls-pki-types]
version = "1"
features = ["std"]

[dependencies.serde_json]
version = "1"

[dependencies.symphonia]
version = "0.6"
features = [
    "mp3",
    "aac",
    "ogg",
    "vorbis",
    "flac",
]
default-features = false

[dependencies.tungstenite]
version = "0.30"
features = ["rustls-tls-native-roots"]

[dependencies.ureq]
version = "3"
features = [
    "rustls-no-provider",
    "gzip",
]
default-features = false

[dependencies.wasmtime]
version = "49"
features = ["call-hook"]

[dependencies.wgpu]
version = "30"

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

[dev-dependencies.wat]
version = "1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = ["Win32_System_Time"]

[profile.release]
debug = 0