[package]
name = "erupt"
version = "0.17.1+169"
authors = ["Friz64 <friz64mc@gmail.com>"]
license = "Zlib"
description = "Vulkan API bindings"
documentation = "https://docs.rs/erupt"
repository = "https://gitlab.com/Friz64/erupt"
readme = "../README.md"
keywords = ["gamedev", "graphics", "vulkan", "bindings"]
categories = ["api-bindings", "game-development", "graphics", "rendering::graphics-api"]
edition = "2018"

[dependencies]
bitflags = "1.2"
libloading = { version = "0.7", optional = true }
raw-window-handle = { version = "0.3", optional = true }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
raw-window-metal = { version = "0.1", optional = true }

[features]
default = ["loading", "surface"]
loading = ["libloading"]
surface = ["raw-window-handle", "raw-window-metal"]
