[package]
edition = "2024"
name = "bevy-react"
version = "0.4.0"
authors = ["Mateusz Tomczyk <mateusz.tomczyk.tul@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Drive bevy_ui from a React app over an embedded V8 runtime."
homepage = "https://github.com/tulustul/bevy-react"
readme = "README.md"
keywords = [
"bevy",
"react",
"ui",
"gamedev",
"gui",
]
categories = [
"gui",
"game-development",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tulustul/bevy-react"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["devtools"]
devtools = []
svg-text = [
"usvg/text",
"usvg/system-fonts",
]
[lib]
name = "bevy_react"
path = "src/lib.rs"
[[test]]
name = "animations"
path = "tests/animations.rs"
[[test]]
name = "broken_reload"
path = "tests/broken_reload.rs"
[[test]]
name = "console_capture"
path = "tests/console_capture.rs"
[[test]]
name = "decode_warnings"
path = "tests/decode_warnings.rs"
[[test]]
name = "demo_switch"
path = "tests/demo_switch.rs"
[[test]]
name = "devtools_roundtrip"
path = "tests/devtools_roundtrip.rs"
[[test]]
name = "hot_reload"
path = "tests/hot_reload.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "timers"
path = "tests/timers.rs"
[dependencies.accesskit]
version = "0.24"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.bevy]
version = "0.19"
features = [
"system_clipboard",
"custom_cursor",
]
[dependencies.bevy-react-macros]
version = "0.4.0"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.crossbeam-channel]
version = "0.5.15"
[dependencies.kurbo]
version = "0.13.1"
[dependencies.resvg]
version = "0.47"
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.svgtypes]
version = "0.16"
[dependencies.tiny-skia]
version = "0.12"
[dependencies.tracing]
version = "0.1"
[dependencies.ts-rs]
version = "10"
[dependencies.usvg]
version = "0.47"
default-features = false
[dependencies.uuid]
version = "1"
[dev-dependencies.crossbeam-channel]
version = "0.5.15"
[dev-dependencies.naga]
version = "29.0"
features = ["wgsl-in"]
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
"sync",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.deno_core]
version = "0.404.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
"sync",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["console"]