[package] name = "vulkan_rs" version = "1.0.62" authors = ["Christoph Hommelsheim "] license = "BSD-2-Clause" description = "Vulkan bindings for the rust programming language." homepage = "https://github.com/HellButcher/vulkan-rs" repository = "https://github.com/HellButcher/vulkan-rs.git" readme = "README.md" build = "build.rs" include = [ "Cargo.toml", "LICENSE", "README.md", "build.rs", "src/**", "vulkan_spec/Vulkan-Docs/src/spec/*.xml", #"vulkan_spec/Vulkan-Docs/doc/specs/vulkan/**/*.txt", "examples/**", "tests/**", "benches/**", ] [badges] travis-ci = { repository = "HellButcher/vulkan-rs", branch = "master" } [dependencies] log = "0.3" lazy_static = "0.2" [target.'cfg(windows)'.dependencies] winapi = "0.2" kernel32-sys = "0.2" [target.'cfg(unix)'.dependencies] libc = "0.2" [dev-dependencies] winit = "0.6" log = "0.3" env_logger = "0.4" [build-dependencies] vulkan_rs_generator = { version = "0.1", path = "./generator" } shaderc = "0.2" #[[example]] #name = "utils" #crate-type = ["lib"] [[example]] name = "initialization" [features] default = [ "VK_USE_PLATFORM_DEFAULT", "VK_default_extensions" ] VK_default_extensions = [ "VK_surface_extensions", "VK_KHR_swapchain", "VK_EXT_debug_report" ] VK_surface_extensions = [ "VK_KHR_surface", "VK_KHR_xlib_surface", "VK_KHR_xcb_surface", "VK_KHR_wayland_surface", "VK_KHR_mir_surface", "VK_KHR_android_surface", "VK_MVK_ios_surface", "VK_MVK_macos_surface", "VK_NN_vi_surface" ] # When enabeling VK_USE_PLATFORM_DEFAULT, the default plaftorm features for the # current target (see abobe) will be automatically enabled. # For example, when target_os="android" the VK_USE_PLATFORM_ANDROID_KHR feature # will be enabled. (see build.rs) VK_USE_PLATFORM_DEFAULT = [] VK_USE_PLATFORM_XLIB_KHR = [] VK_USE_PLATFORM_XLIB_XRANDR_EXT = [ "VK_USE_PLATFORM_XLIB_KHR" ] VK_USE_PLATFORM_XCB_KHR = [] VK_USE_PLATFORM_WAYLAND_KHR = [] VK_USE_PLATFORM_MIR_KHR = [] VK_USE_PLATFORM_ANDROID_KHR = [] VK_USE_PLATFORM_WIN32_KHR = [] VK_USE_PLATFORM_IOS_MVK = [] VK_USE_PLATFORM_MACOS_MVK = [ ] VK_USE_PLATFORM_VI_NN = [] VK_KHR_surface = [] VK_KHR_xlib_surface = [] VK_KHR_xcb_surface = [] VK_KHR_wayland_surface = [] VK_KHR_mir_surface = [] VK_KHR_android_surface = [] VK_MVK_ios_surface = [] VK_MVK_macos_surface = [] VK_NN_vi_surface = [] VK_KHR_swapchain = [] VK_EXT_debug_report = []