-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
63 lines (55 loc) · 2.03 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
[package]
name = "ozone"
version = "0.1.0"
edition = "2021"
authors = ["Shadów", "blujay", "Raytwo"]
[package.metadata.skyline]
titleid = "0100A6301214E000" # Fire Emblem Engage
custom-npdm = "packaged/exefs/main.npdm"
package-resources = [
{ local = "packaged/romfs/cache.json", package = "engage/cache.lut" },
]
[dependencies]
skyline = { git = "https://github.com/ultimate-research/skyline-rs" }
ozone_macro = { path = "./ozone_macro" }
cobalt = { path = "crates/cobalt" }
updater = { path = "crates/updater" }
gamedata = { path = "crates/gamedata" }
loader = { path = "crates/loader" }
mods = { path = "crates/mods" }
unity = { version = "0.3.0", git = "https://github.com/DivineDragonFanClub/unity" }
engage = { version = "0.7.0", git = "https://github.com/DivineDragonFanClub/engage" }
horizon-svc = { git = "https://github.com/skyline-rs/horizon-svc" } # We don't include the implementations because exlaunch already has them
camino = "1.0.7"
semver = { version = "1" }
log = "0.4"
multi_log = "0.1.2"
ips = { git = "https://github.com/Nifyr/ips32" }
[patch.crates-io]
# nnsdk = { git = "https://github.com/ultimate-research/nnsdk-rs"}
getrandom = { git = "https://github.com/skyline-rs/getrandom" }
native-tls = { git = "https://github.com/skyline-rs/rust-native-tls", branch = "switch" }
[build-dependencies]
ex-build = { path = "../ex-build" }
[lib]
crate-type = ["cdylib"]
# sometimes got compile errors I can't really explain
# these settings work for me most of the time
[profile.dev]
# opt-level 0 breaks sometimes for me lol. 1 less rare. 3 is also comparable in terms of compile speed, but should be slower in theory.
opt-level = 1
# no idea if this breaks stuff more likely, turning it off just in case
debug = false
debug-assertions = false
overflow-checks = false
# lto-thin, reduces compile times. "off" breaks.
lto = false
panic = "abort"
# faster for me, dunno if necessary, has some build errors where this was off *sometimes*.
incremental = true
[profile.release]
opt-level = 1
panic = "abort"
lto = "thin"
strip = true
# incremental = true