-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
39 lines (33 loc) · 1023 Bytes
/
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
[package]
name = "playboy"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
panic = "abort"
opt-level = 3
lto = true
[profile.release]
panic = "abort"
opt-level = 3
lto = true
[profile.release.package.gbrs-core]
opt-level = 3
[profile.release.package.crankstart-sys]
opt-level = 3
[profile.release.package.anyhow]
opt-level = 3
[profile.release.package.euclid]
opt-level = 3
# TODO: Playboy crashes on start if crankstart is compiled as
# *anything* but "z", even "s". Why is that?
[profile.release.package.crankstart]
opt-level = "z"
[lib]
crate-type = ["staticlib", "cdylib"]
[dependencies]
crankstart = { path = "./modules/crankstart" }
crankstart-sys = { path = "./modules/crankstart/crankstart-sys" }
euclid = { version = "0.20.13", default-features = false, features = [ "libm" ] }
anyhow = { version = "1.0.31", default-features = false }
gbrs-core = { path = "./modules/gbrs/core", default-features = false }