-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
123 lines (107 loc) · 3.06 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[package]
name = "Terralistic"
version = "0.5.2-alpha"
edition = "2021"
description = "Terralistic"
build = "build_main.rs"
license-file = "LICENSE"
repository = "https:://github.com/Zorz42/Terralistic"
keywords = ["game", "terralistic"]
categories = ["games", "graphics", "gui", "network-programming", "rendering"]
[[bin]]
name = "terralistic"
path = "main.rs"
[dependencies]
directories = "5.0"
chrono = "0.4"
bincode = "1.3"
rlua = "0.19"
anyhow = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
gl = "0.14"
snap = "1.1"
copypasta = "0.10"
rand = { version = "0.8", features = [] }
noise = "0.8"
fnv = "1.0"
hecs = "0.10"
message-io = "0.18"
# set custom dependency for windows
[target.'cfg(windows)'.dependencies]
sdl2 = { version = "=0.35.2", features = ["bundled", "static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["bundled", "static-link"] }
# set custom dependency for linux
[target.'cfg(unix)'.dependencies]
sdl2 = { version = "=0.35.2", features = ["use-pkgconfig", "static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["use-pkgconfig", "static-link"] }
# set custom dependency for macos
[target.'cfg(target_os = "macos")'.dependencies]
sdl2 = { version = "=0.35.2", features = ["static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["static-link"] }
[profile.release]
strip = true
lto = true
codegen-units = 1
opt-level = 3
panic = "abort"
[profile.test]
strip = true
lto = true
codegen-units = 1
opt-level = 3
[profile.dev]
strip = false
lto = false
codegen-units = 256
opt-level = 0
[build-dependencies]
bincode = "1.3"
rlua = "0.19"
anyhow = "1.0"
serde = "1.0"
serde_derive = "1.0"
gl = "0.14"
snap = "1.1"
copypasta = "0.10"
fnv = "1.0"
darklua = "0.12"
png = "0.17"
hecs = "0.10"
message-io = "0.18"
winres = "0.1"
rand = { version = "0.8", features = [] }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "my_benchmark"
harness = false
# set custom dependency for windows
[target.'cfg(windows)'.build-dependencies]
sdl2 = { version = "=0.35.2", features = ["bundled", "static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["bundled", "static-link"] }
# set custom dependency for linux
[target.'cfg(unix)'.build-dependencies]
sdl2 = { version = "=0.35.2", features = ["use-pkgconfig", "static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["use-pkgconfig", "static-link"] }
# set custom dependency for macos
[target.'cfg(target_os = "macos")'.build-dependencies]
sdl2 = { version = "=0.35.2", features = ["static-link"] }
sdl2-sys = { version = "=0.35.2", features = ["static-link"] }
[package.metadata.bundle]
name = "Terralistic"
identifier = "com.Zorz42.Terralistic"
icon = ["resources/icon.icns"]
copyright = "Copyright (c) Zorz42 2022. All rights reserved."
category = "Game"
short_description = "Terralistic is a game."
long_description = """
Terralistic is a Terraria fan game.
It has some technical stuff that I miss in Terraria,
like: native mod support, good performance,
custom programming language for mods, online accounts,
good ui and so on...
"""
deb_depends = []
osx_frameworks = []