[package]
name = "imgui-wgpu"
version = "0.14.0"
authors = ["Noah Hüsser <yatekii@yatekii.ch>", "Connor Fitzgerald <connorwadefitzgerald@gmail.com>", "Steven Wittens <steven@acko.net>"]
edition = "2018"
description = "A wgpu render backend for imgui-rs."
documentation = "https://docs.rs/imgui-wgpu/"
homepage = "https://github.com/Yatekii/imgui-wgpu-rs"
repository = "https://github.com/Yatekii/imgui-wgpu-rs"
readme = "README.md"
categories = ["gui", "graphics", "rendering", "rendering::graphics-api"]
keywords = ["gui", "graphics", "wgpu", "imgui"]
license = "MIT OR Apache-2.0"

exclude = [
	".gitignore",
	".github",
	"examples",
	"resources",
]

[features]
# used in src/simple_api.rs
default = []
simple_api_unstable = [ "winit", "pollster", "imgui-winit-support" ]

[dependencies]
bytemuck = "1"
imgui = "0.7"
log = "0.4"
smallvec = "1"
wgpu = "0.7"

# deps for simple_api_unstable
imgui-winit-support = { version = "0.7", optional = true }
pollster = { version = "0.2.0", optional = true } # for block_on executor
winit = { version = ">= 0.23, < 0.25", optional = true }

[dev-dependencies]
bytemuck = { version = "1.4", features = ["derive"] }
cgmath = "0.17"
futures = "0.3"
image = "0.23"
imgui-winit-support = "0.7"
raw-window-handle = "0.3"
wgpu-subscriber = "0.1"
winit = "0.24"

[package.metadata.docs.rs]
all-features = true
