forked from tryjumping/dose-response
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (65 loc) · 2.23 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
[package]
name = "dose-response"
version = "1.0.0"
description = "Roguelike game where you play an addict"
authors = ["Tomas Sedovic <tomas@sedovic.cz>"]
homepage = "https://tryjumping.com/dose-response-roguelike/"
repository = "https://github.com/tryjumping/dose-response"
edition = "2018"
license = "GPL-3.0"
build = "build.rs"
exclude = ["scripts/*", "replays/*", "screenshots/*", "ci/*",
"web-src/*", "*.js", "*.css", "*.html",
"notes.org", "SAVEDGAME.sav", "out-dir-path", "dose-response.log",
"videos/*", "*.mp4 "]
[[bin]]
name = "dose-response"
path = "src/main.rs"
[dependencies]
bincode = "1.0" # For serialising the game save state into a binary format
bitflags = "1.0"
clap = { version = "2.20.1", optional = true }
chrono = { version = "0.4.0", optional = true }
gl = { version = "0.10", optional = true }
glium = { version = "0.22", optional = true }
glutin = { version = "0.19.0", optional = true }
image = { version = "0.20", optional = true }
line_drawing = "0.7"
log = "0.4.1"
num-rational = { version = "0.2.1", default-features = false, features = ["serde"] }
rand = { version = "0.6", features = ["serde1"] }
rand_isaac = "0.1.0"
sdl2 = { version = "0.31.0", features = ["bundled"], optional = true }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
simplelog = { version = "0.5.2", default-features = false, features = [], optional = true }
zmq = { version = "0.8", optional = true }
[build-dependencies]
rusttype = "0.7"
image = "0.20"
# Only compile winres on Windows targets.
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[features]
default = ["dev"]
prod = ["cli", "fullscreen", "glium-backend", "sdl-backend"]
dev = ["prod", "cheating", "replay", "glutin-backend", "stats", "verifications"]
recording = ["prod", "replay"]
# TODO: add a "trailer" feature for the gameplay (not UI) changes under "recording"?
# So you can record a normal game / replay too.
cheating = []
cli = ["clap", "simplelog"]
fullscreen = []
glium-backend = ["glium", "image"]
glutin-backend = ["glutin", "gl", "image"]
remote = ["zmq"]
replay = ["chrono"]
sdl-backend = ["sdl2", "gl", "image"]
sdl-static-link = ["sdl2", "sdl2/static-link"]
stats = []
verifications = []
web = []
[profile.release]
codegen-units = 1
lto = true