-
Notifications
You must be signed in to change notification settings - Fork 77
/
Cargo.toml
50 lines (43 loc) · 1.78 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
[package]
name = "quicksilver"
description = "A simple game framework for 2D games in pure Rust"
version = "0.4.0"
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]
# complex_shapes, fonts, gamepads, sounds
default = ["easy-log", "event-cache", "font", "gamepad", "saving", "ttf"]
easy-log = ["simple_logger", "web_logger"]
event-cache = ["blinds/event-cache"]
font = ["elefont"]
gamepad = ["blinds/gamepad"]
saving = ["gestalt"]
stdweb = ["gestalt/stdweb", "platter/stdweb", "blinds/stdweb", "golem/stdweb","instant/stdweb"]
web-sys = ["gestalt/web-sys", "platter/web-sys", "blinds/web-sys", "golem/web-sys","instant/web-sys"]
ttf = ["font", "elefont/rusttype", "rusttype"]
[badges]
maintenance = { status = "passively-maintained" }
[dependencies]
blinds = { version = "0.1.4", default-features = false, features = ["gl", "image"] }
bytemuck = "1.0"
elefont = { version = "0.1.3", features = ["rusttype", "unicode-normalization"], optional = true }
gestalt = { version = "0.1", optional = true }
golem = { version = "0.1.3", features = ["std"] }
image = { version = "0.22", default-features = false, features = ["png_codec", "jpeg"] }
instant = "0.1.2"
log = "0.4"
mint = "0.5.3"
platter = "0.1"
rusttype = { version = "0.8.2", optional = true }
serde = {version = "1", optional = true, features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
simple_logger = { version = "1.4", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web_logger = { version = "0.2", optional = true }