# 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"
name = "roast2d_internal"
version = "0.3.3"
build = false
include = [
    "/src",
    "/assets",
    "Cargo.toml",
    "Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Roast2D internal crate"
readme = false
license = "MIT"
repository = "https://github.com/jjyr/roast2d"
resolver = "2"

[features]
egui = [
    "dep:egui",
    "dep:egui-winit",
    "dep:egui-wgpu",
]
hotreload = [
    "dep:libloading",
    "dep:notify",
    "dep:roast2d_macro",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytemuck]
version = "1.21.0"
features = ["derive"]

[dependencies.crossbeam-channel]
version = "0.5.13"

[dependencies.egui]
version = "0.33.2"
optional = true

[dependencies.egui-wgpu]
version = "0.33.2"
optional = true

[dependencies.egui-winit]
version = "0.33.2"
optional = true

[dependencies.encase]
version = "0.11.2"
features = ["glam"]

[dependencies.fontdue]
version = "0.9.3"

[dependencies.glam]
version = "0.30.4"
features = ["bytemuck"]

[dependencies.hashbrown]
version = "0.15"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.libloading]
version = "0.8.8"
optional = true

[dependencies.log]
version = "0.4.22"

[dependencies.lru]
version = "0.16.0"

[dependencies.notify]
version = "8.2.0"
optional = true

[dependencies.ordered-float]
version = "5.0"
default-features = false

[dependencies.pollster]
version = "0.4.0"

[dependencies.rand]
version = "0.9.1"

[dependencies.roast2d_macro]
version = "0.3.3"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.wgpu]
version = "27"

[dependencies.winit]
version = "0.30"

[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
version = "0.3"
features = [
    "std",
    "wasm_js",
]

[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.104"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = [
    "Response",
    "Window",
    "WorkerGlobalScope",
]

[target.'cfg(target_family = "wasm")'.dependencies.web-time]
version = "1"
