# Copyright 2016 The Gfx-rs Developers. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "gfx_window_sdl" version = "0.9.1" description = "SDL2 window for gfx-rs" homepage = "https://github.com/gfx-rs/gfx" repository = "https://github.com/gfx-rs/gfx" keywords = ["graphics", "gamedev"] license = "Apache-2.0" authors = ["The Gfx-rs Developers"] documentation = "https://docs.rs/gfx_window_sdl" [lib] name = "gfx_window_sdl" [dependencies] log = "0.4" sdl2 = "0.32" gfx_core = { path = "../../core", version = "0.9.1" } gfx_device_gl = { path = "../../backend/gl", version = "0.16.1" } # Currently there is an issue with cargo and dev-dependencies: # https://github.com/rust-lang/cargo/issues/860 # TODO: move gfx to [dev-dependencies] once it gets resolved. gfx = { path = "../../render", version = "0.18" } [[example]] name = "window" path = "examples/window.rs"