[[bench]]
harness = false
name = "sat_collision"
path = "benches/sat_collision.rs"
[dependencies.encase]
features = ["glam"]
version = "0.11.2"
[dependencies.roast2d_internal]
default-features = false
version = "0.3.6"
[dev-dependencies.bytemuck]
features = ["derive"]
version = "1.21.0"
[dev-dependencies.criterion]
default-features = false
version = "0.7.0"
[dev-dependencies.env_logger]
version = "0.11.6"
[dev-dependencies.rand]
version = "0.9.1"
[[example]]
name = "blink"
path = "examples/blink.rs"
[[example]]
name = "breakout"
path = "examples/breakout.rs"
[[example]]
name = "cube"
path = "examples/cube.rs"
[[example]]
name = "egui_cjk"
path = "examples/egui_cjk.rs"
required-features = ["egui"]
[[example]]
name = "egui_overlay"
path = "examples/egui_overlay.rs"
required-features = ["egui"]
[[example]]
name = "egui_showcase"
path = "examples/egui_showcase.rs"
required-features = ["egui"]
[[example]]
name = "hex"
path = "examples/hex.rs"
[[example]]
name = "shapes"
path = "examples/shapes.rs"
[[example]]
name = "ui_box"
path = "examples/ui_box.rs"
[features]
dynamic_linking = ["dep:roast2d_dylib"]
egui = ["roast2d_internal/egui"]
hotreload = ["roast2d_internal/hotreload", "dynamic_linking"]
[lib]
name = "roast2d"
path = "src/lib.rs"
[lints.clippy]
too_many_arguments = "allow"
[package]
authors = ["jjy"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Roast2D is a homebrew 2D game engine"
edition = "2024"
license = "MIT"
name = "roast2d"
readme = "README.md"
repository = "https://github.com/jjyr/roast2d"
resolver = "2"
version = "0.3.6"
[target.'cfg(not(target_family = "wasm"))'.dependencies.roast2d_dylib]
default-features = false
optional = true
version = "0.3.6"
[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "0.2"