forked from rustcycles/rustcycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
62 lines (55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "rustcycles"
version = "0.0.0"
edition = "2021"
rust-version = "1.56"
resolver = "2"
authors = ["Martin Taibr <[email protected]>"]
[profile.dev]
# Abort on panic might be a better default:
# https://vorner.github.io/2018/07/22/dont_panic.html
# This makes backtraces useless, see .cargo/config-example.toml for a fix.
panic = "abort"
opt-level = 1 # Can be changed without recompiling all deps
[profile.dev.package."*"]
# Optimize deps but not this crate itself (tip from macroquad).
# This seems to slightly improve performance (e.g. loading a model goes from 1.4 s to 0.2 s)
# and shouldn't meaningfully increase incremental compile times because deps only change rarely.
opt-level = 3
codegen-units = 1
debug = false
[profile.release]
panic = "abort"
# https://doc.rust-lang.org/cargo/reference/profiles.html#build-dependencies
# The reference might be wrong - it says this affects proc macros but in my experience it doesn't.
# No effect so far because we don't use and build deps yet.
[profile.dev.build-override]
opt-level = 3
codegen-units = 1
[profile.release.build-override]
opt-level = 3
codegen-units = 1
[dependencies]
bincode = "1.3.3"
cvars = "0.1.0"
cvars-console = { git = "https://github.com/martin-t/cvars", rev = "ae2e3e59ff06d61c9038f33237ea49d05f91e3b5" }
cvars-console-fyrox = { git = "https://github.com/martin-t/cvars", rev = "ae2e3e59ff06d61c9038f33237ea49d05f91e3b5" }
#cvars-console = { path = "../cvars/cvars-console" }
#cvars-console-fyrox = { path = "../cvars/cvars-console-fyrox" }
fxhash = "0.2.1"
fyrox = "0.28.0"
inline_tweak = "1.0.8"
rand = { version = "0.8.5", default-features = false }
rand_xoshiro = "0.6.0"
serde = { version = "1.0.152", features = ["derive"] }
strum = "0.24.0"
strum_macros = "0.24.3"
[patch.crates-io]
fyrox = { git = "https://github.com/FyroxEngine/Fyrox", rev = "2537fc1bf5a03dd55c0a2e54bc14a5458d45e724" }
#fyrox = { git = "https://github.com/martin-t/Fyrox", rev = "6fcc4d0cc261611428333aea4fcf1e551812375b" }
#fyrox = { path = "../Fyrox" }
# Might need to override this as well so that cvars-console-fyrox uses the same version.
# LATER Is this still necessary when cvars-console-fyrox is on crates.io?
fyrox-ui = { git = "https://github.com/FyroxEngine/Fyrox", rev = "2537fc1bf5a03dd55c0a2e54bc14a5458d45e724" }
#fyrox-ui = { git = "https://github.com/martin-t/Fyrox", rev = "6fcc4d0cc261611428333aea4fcf1e551812375b" }
#fyrox-ui = { path = "../Fyrox/fyrox-ui" }