[package] name = "gls" version = "0.1.6" authors = ["Varphone Wong "] keywords = ["graphics"] description = "Open Graphics Library (OpenGL) for Rust bindings with *Safe*, *Simple*, *Speed* and *Stupid*" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/vaxpl/gls-rs.git" homepage = "https://github.com/vaxpl/gls-rs" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] nalgebra = { version = "0", features = ["serde-serialize"] } serde = { version = "1.0", features = ["derive"] } [build-dependencies] gl_generator = "0.14" [target.'cfg(windows)'.dev-dependencies] sdl2 = { version = "0.32", features = ["bundled", "static-link"] } [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = [ "libloaderapi" ] } [target.'cfg(unix)'.dependencies] egls = { version = "0.1", optional = true } libc = "0.2" [target.aarch64-unknown-linux-gnu.dev-dependencies] egls = { version = "0.1" } rand = "0" [target.x86_64-unknown-linux-gnu.dev-dependencies] rand = "0" sdl2 = { version = "0", features = [] } [features] default = [ "gles3" ] gl2 = [] gl3 = [] gl4 = [] gles1 = [] gles2 = [] gles3 = [] hi3516ev200 = [] hi3516ev300 = [] hi3518ev200 = [] hi3518ev300 = [] hi3519av100 = [] hi3531v100 = [] hi3559av100 = [ "egls/hi3559av100" ]