[package]
name = "egui_overlay"
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
description = "Egui integration to easily create Desktop Overlays"

[features]
default = ["egui/default"]

[dependencies]
egui_window_glfw_passthrough = { version = "0.7", path = "crates/egui_window_glfw_passthrough" }
egui = { workspace = true }
tracing = { workspace = true }
raw-window-handle = { workspace = true }


[target.'cfg(not(target_os = "macos"))'.dependencies]
egui_render_three_d = { version = "0.7", path = "crates/egui_render_three_d" }

# because opengl doesn't work on mac :((
[target.'cfg(target_os = "macos")'.dependencies]
egui_render_wgpu = { version = "0.7", path = "crates/egui_render_wgpu" }

[dev-dependencies]
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
egui = { workspace = true }


[workspace.dependencies]
egui = { version = "0.25", default-features = false }
bytemuck = { version = "1", default-features = false }
tracing = { version = "0.1", default-features = false }
raw-window-handle = { version = "0.5" }

[workspace]
members = [
    "crates/egui_render_three_d",
    "crates/egui_render_glow",
    "crates/egui_render_wgpu",
    "crates/egui_window_glfw_passthrough",
]

[workspace.package]
edition = "2021"
license = "MIT"
version = "0.7.0"
repository = "https://github.com/coderedart/egui_overlay"
