hai_core 0.5.2

Core implementation of Hai game engine, and general 2D rendering library using WebGPU as well.
Documentation
[package]
authors = ["Icemic <bingfeng.web@gmail.com>"]
description = "Core implementation of Hai game engine, and general 2D rendering library using WebGPU as well."
edition = "2021"
license = "Apache-2.0"
name = "hai_core"
repository = "https://github.com/Icemic/hai"
version = "0.5.2"

[features]
default = ["desktop", "js_runtime", "quickjs"]
desktop = ["hai_pal/desktop", "dep:tokio"]
js_runtime = []
quickjs = ["hai_runtime", "hai_macros/quickjs"]
text = ["dep:huozi"]
v8 = ["hai_js_runtime", "hai_macros/v8"]
video = ["dep:ffmpeg-rs"]
web = [
  "hai_pal/web",
  "wgpu/webgl",
  "dep:pollster",
  "dep:serde-wasm-bindgen",
  "dep:wasm-bindgen",
  "dep:wasm-bindgen-futures",
  "dep:web-sys",
]

[dependencies]
anyhow = "1.0"
arc-swap = "1.6"
bytemuck = {version = "1.13", features = ["derive"]}
futures = "0.3"
glam = {version = "0.25", features = ["bytemuck"]}
image = "0.24"
log = "0.4"
once_cell = "1.16"
wgpu = "0.19.1"
winit = "0.29"

pollster = {version = "0.2.5", optional = true}
serde = {version = "1.0", features = ["derive"]}
serde-wasm-bindgen = {version = "0.4", optional = true}
tokio = {version = "1", features = ["full"], optional = true}
wasm-bindgen = {version = "0.2.83", default-features = false, optional = true}
wasm-bindgen-futures = {version = "0.4.33", optional = true}
web-sys = {version = "0.3.56", features = ["Window", "Element", "Document", "HtmlElement", "HtmlCanvasElement"], optional = true}

ffmpeg-rs = {version = "5.2.1", optional = true}

huozi = {version = "0.4", optional = true}

[dependencies.hai_js_runtime]
optional = true
path = "../js_runtime"
version = "0.4"

[dependencies.hai_runtime]
optional = true
path = "../runtime"
version = "0.5"

[dependencies.hai_pal]
path = "../platform"
version = "0.5"

[dependencies.hai_macros]
default-features = false
path = "../macros"
version = "0.4"