-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (40 loc) · 2.4 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
###############################################################################
# GENERAL
###############################################################################
[package]
name = "game"
authors = ["Jason de Wolff"]
version = "0.1.0"
edition = "2021"
[dependencies]
chronicle = { path = "../chronicle" }
###############################################################################
# BUILD SETTINGS
###############################################################################
[build]
jobs = -1 # number of parallel jobs, defaults to # of CPUs
rustc = "rustc" # the rust compiler tool
rustdoc = "rustdoc" # the doc generator tool
target-dir = "target" # path of where to place all generated artifacts
rustflags = ["target-cpu=native"] # custom flags to pass to all compiler invocations
incremental = true # whether or not to enable incremental compilation
[profile.dev] # Modify profile settings via config.
opt-level = 0 # Optimization level.
debug = true # Include debug info.
debug-assertions = true # Enables debug assertions.
overflow-checks = true # Enables runtime integer overflow checks.
lto = false # Sets link-time optimization.
panic = 'unwind' # The panic strategy.
incremental = true # Incremental compilation.
codegen-units = 16 # Number of code generation units.
rpath = false # Sets the rpath linking option.
[profile.release] # Modify profile settings via config.
opt-level = 3 # Optimization level.
debug = true # Include debug info.
debug-assertions = false # Enables debug assertions.
overflow-checks = false # Enables runtime integer overflow checks.
lto = false # Sets link-time optimization.
panic = 'abort' # The panic strategy.
incremental = true # Incremental compilation.
codegen-units = 1 # Number of code generation units.
rpath = false # Sets the rpath linking option.