[package] name = "miniquad" version = "0.4.7" authors = ["not-fl3 "] edition = "2018" license = "MIT/Apache-2.0" homepage = "https://github.com/not-fl3/miniquad" repository = "https://github.com/not-fl3/miniquad" description = """ Cross-platform window context and rendering library. """ readme = "README.md" exclude = ["examples/"] keywords = ["graphics", "3D", "opengl", "gamedev", "windowing"] categories = ["rendering::graphics-api"] [features] # Optional log-rs like macros implementation # disabled by default log-impl = [] [target.'cfg(target_os = "linux")'.dependencies] libc = "0.2" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = [ "wingdi", "winuser", "libloaderapi", "windef", "shellscalingapi", "errhandlingapi", "windowsx", "winbase", "hidusage", ] } [target.'cfg(target_os = "android")'.dependencies] libc = "0.2" ndk-sys = "0.2" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] objc = "0.2" [dev-dependencies] glam = { version = "0.24", features = ["scalar-math"] } quad-rand = "0.1" [profile.release] lto = true panic = 'abort' opt-level = "s" overflow-checks = false debug-assertions = false incremental = false rpath = false codegen-units = 1 strip = true