forked from ryanisaacg/quicksilver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
102 lines (83 loc) · 2.35 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[package]
name = "quicksilver"
description = "A simple game framework for 2D games in pure Rust"
version = "0.3.14"
authors = ["Ryan Goldstein <[email protected]>"]
categories = ["game-engines"]
homepage = "https://ryanisaacg.github.io/quicksilver"
keywords = ["game", "audio", "graphics", "gamedev"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/ryanisaacg/quicksilver"
exclude = ["docs/*"]
edition = "2018"
[features]
default = ["collisions", "complex_shapes", "immi_ui", "fonts", "gamepads", "saving", "sounds"]
collisions = ["nalgebra", "ncollide2d"]
complex_shapes = ["lyon"]
fonts = ["rusttype"]
gamepads = ["gilrs"]
immi_ui = ["immi", "fonts"]
saving = ["dirs", "serde_json"]
sounds = ["rodio"]
[badges]
travis-ci = { repository = "ryanisaacg/quicksilver", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
futures = "0.1"
gilrs = { version = "0.7", optional = true }
image = "0.21"
lyon = { version = "0.13", features = ["extra"], optional = true }
rand = { version = "0.6", features = ["stdweb"] }
serde = "1.0"
serde_derive = "1.0"
nalgebra = { version = "0.18", features = ["stdweb"], optional = true }
ncollide2d = { version = "0.19", optional = true }
immi = { version = "1.0", optional = true }
rusttype = { version = "0.7", optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
alga = "0.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dirs = { version = "1.0", optional = true }
gl = "0.11"
glutin = { version = "0.21" }
winit = { version = "0.19.1", features = ["icon_loading"] }
rodio = { version = "0.8", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
stdweb = "0.4.12"
webgl_stdweb = "0.3"
base64 = "0.10"
[[example]]
name = "draw-geometry"
required-features = []
[[example]]
name = "image"
required-features = []
[[example]]
name = "font"
required-features = ["fonts"]
[[example]]
name = "sound"
required-features = ["sounds"]
[[example]]
name = "raycast"
required-features = ["collisions"]
[[example]]
name = "rgb-triangle"
required-features = []
[[example]]
name = "lyon"
required-features = ["complex_shapes"]
[[example]]
name = "set-cursor"
required-features = []
[[example]]
name = "stopwatch"
required-features = []
[[example]]
name = "camera"
required-features = []
[[example]]
name = "immi"
required-features = ["immi_ui"]