[package]
edition = "2024"
name = "bevy_react_core"
version = "0.7.0"
authors = ["Mateusz Tomczyk <mateusz.tomczyk.tul@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The core bridge of bevy-react (drive bevy_ui from React over an embedded V8 runtime). Apps depend on the `bevy-react` crate."
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]
custom_cursor = ["bevy/custom_cursor"]
default = ["devtools"]
devtools = []
svg_text = [
"usvg/text",
"usvg/system-fonts",
]
test_util = []
[lib]
name = "bevy_react_core"
path = "src/lib.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 = "flush_type_error"
path = "tests/flush_type_error.rs"
[[test]]
name = "hot_reload"
path = "tests/hot_reload.rs"
[[test]]
name = "timers"
path = "tests/timers.rs"
[dependencies.accesskit]
version = "0.24"
[dependencies.bevy]
version = "0.19"
features = [
"std",
"bevy_asset",
"bevy_image",
"bevy_color",
"bevy_window",
"bevy_camera",
"bevy_mesh",
"bevy_shader",
"bevy_render",
"bevy_core_pipeline",
"bevy_light",
"bevy_ui",
"bevy_ui_render",
"bevy_ui_widgets",
"bevy_input_focus",
"bevy_text",
"bevy_picking",
"keyboard",
"mouse",
"touch",
"gamepad",
"ui_picking",
"default_font",
"system_clipboard",
]
default-features = false
[dependencies.bevy-react-macros]
version = "0.7.0"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.crossbeam-channel]
version = "0.5.15"
[dependencies.erased-serde]
version = "0.4"
[dependencies.resvg]
version = "0.47"
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.smallbox]
version = "0.8"
[dependencies.tiny-skia]
version = "0.12"
[dependencies.tracing]
version = "0.1"
[dependencies.ts-rs]
version = "10"
features = ["no-serde-warnings"]
[dependencies.usvg]
version = "0.47"
default-features = false
[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.deno_error]
version = "0.7"
[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"]