[package] name = "megafb" description = "winit + gfx-hal based framebuffer displayer" version = "0.0.1" authors = ["Lokathor "] repository = "https://github.com/Lokathor/megafb" readme = "README.md" keywords = ["framebuffer", "pixels"] edition = "2018" license = "0BSD" # TODO: remove all of this feature crap and just automatically select the # correct backend when possible (eg: macos will always pick metal) # TODO: android config # TODO: ios config # TODO: wasm config [features] default = [] metal = ["gfx-backend-metal"] dx12 = ["gfx-backend-dx12"] vulkan = ["gfx-backend-vulkan"] [dependencies] winit = "0.20.0-alpha2" gfx-hal = "0.2" shaderc = "0.6" [dependencies.gfx-backend-vulkan] version = "0.2" optional = true [target.'cfg(target_os = "macos")'.dependencies.gfx-backend-metal] version = "0.2" optional = true [target.'cfg(windows)'.dependencies.gfx-backend-dx12] version = "0.2" optional = true [badges] appveyor = { repository = "Lokathor/megafb" } travis-ci = { repository = "Lokathor/megafb" }