forked from not-fl3/miniquad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (51 loc) · 1.26 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "miniquad"
version = "0.4.2"
authors = ["not-fl3 <[email protected]>"]
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