# 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 = "dear-imgui-sdl3"
version = "0.12.0"
build = "build.rs"
links = "dear-imgui-sdl3-backend"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDL3 platform backend with optional OpenGL3 renderer for dear-imgui-rs"
homepage = "https://github.com/Latias94/dear-imgui-rs"
documentation = "https://docs.rs/dear-imgui-sdl3"
readme = "README.md"
keywords = [
    "imgui",
    "ui",
    "graphics",
    "docking",
    "multiview",
]
categories = [
    "gui",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/dear-imgui-rs"
resolver = "2"

[features]
default = []
multi-viewport = ["dear-imgui-rs/multi-viewport"]
opengl3-renderer = ["dear-imgui-sys/backend-shim-opengl3"]
sdlrenderer3-renderer = ["dear-imgui-sys/backend-shim-sdlrenderer3"]

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

[dependencies.dear-imgui-rs]
version = "0.12"

[dependencies.dear-imgui-sys]
version = "0.12"

[dependencies.sdl3-sys]
version = "0.6"

[dependencies.thiserror]
version = "2.0"

[build-dependencies.cc]
version = "1.2"

[build-dependencies.pkg-config]
version = "0.3"

[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies.sdl3]
version = "0.18"
features = ["build-from-source"]

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.sdl3]
version = "0.18"

[target.'cfg(target_os = "android")'.dependencies.sdl3]
version = "0.18"
