mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Maybe make the build faster by using the same settings for all crates
This commit is contained in:
parent
3747d6192a
commit
9835f81b5f
|
@ -8,3 +8,13 @@ repository = "https://github.com/agbrs/agb"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
agb_macros = { version = "0.14.0", path = "../agb-macros" }
|
agb_macros = { version = "0.14.0", path = "../agb-macros" }
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -13,3 +13,13 @@ gbafix = "1"
|
||||||
bytemuck = "1"
|
bytemuck = "1"
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
clap = "4"
|
clap = "4"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -10,4 +10,14 @@ repository = "https://github.com/agbrs/agb"
|
||||||
rustc-hash = { version = "1", default-features = false }
|
rustc-hash = { version = "1", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
|
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -17,3 +17,13 @@ proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
asefile = "0.3.5"
|
asefile = "0.3.5"
|
||||||
fontdue = "0.7"
|
fontdue = "0.7"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -14,3 +14,13 @@ proc-macro = true
|
||||||
syn = { version = "2", features = ["full", "extra-traits"] }
|
syn = { version = "2", features = ["full", "extra-traits"] }
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -7,14 +7,6 @@ license = "MPL-2.0"
|
||||||
description = "Library for converting wavs for use on the Game Boy Advance"
|
description = "Library for converting wavs for use on the Game Boy Advance"
|
||||||
repository = "https://github.com/agbrs/agb"
|
repository = "https://github.com/agbrs/agb"
|
||||||
|
|
||||||
[profile.dev]
|
|
||||||
opt-level = 3
|
|
||||||
debug = true
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
debug = true
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
|
@ -23,3 +15,13 @@ hound = "3.5"
|
||||||
syn = "2"
|
syn = "2"
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -7,16 +7,6 @@ description = "Library for Game Boy Advance Development"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
repository = "https://github.com/agbrs/agb"
|
repository = "https://github.com/agbrs/agb"
|
||||||
|
|
||||||
[profile.dev]
|
|
||||||
opt-level = 3
|
|
||||||
debug = true
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
opt-level = 3
|
|
||||||
lto = "fat"
|
|
||||||
debug = true
|
|
||||||
codegen-units = 1
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["testing"]
|
default = ["testing"]
|
||||||
testing = []
|
testing = []
|
||||||
|
@ -35,3 +25,13 @@ rustc-hash = { version = "1", default-features = false }
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
default-target = "thumbv6m-none-eabi"
|
default-target = "thumbv6m-none-eabi"
|
||||||
targets = []
|
targets = []
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -4,16 +4,15 @@ version = "0.1.0"
|
||||||
authors = ["Gwilym Kuiper <gw@ilym.me>"]
|
authors = ["Gwilym Kuiper <gw@ilym.me>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
agb = { version = "0.14.0", path = "../../../agb" }
|
agb = { version = "0.14.0", path = "../../../agb" }
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
opt-level = 3
|
||||||
lto = true
|
lto = "fat"
|
||||||
debug = true
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -11,13 +11,12 @@ the-purple-night = { path = "../the-purple-night" }
|
||||||
the-hat-chooses-the-wizard = { path = "../the-hat-chooses-the-wizard" }
|
the-hat-chooses-the-wizard = { path = "../the-hat-chooses-the-wizard" }
|
||||||
hyperspace-roll = { path = "../hyperspace-roll" }
|
hyperspace-roll = { path = "../hyperspace-roll" }
|
||||||
|
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
opt-level = 3
|
||||||
lto = true
|
lto = "fat"
|
||||||
debug = true
|
debug = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
|
@ -4,17 +4,15 @@ version = "0.1.0"
|
||||||
authors = [""]
|
authors = [""]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
agb = { version = "0.14.0", path = "../../agb" }
|
agb = { version = "0.14.0", path = "../../agb" }
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
opt-level = 3
|
||||||
lto = true
|
lto = "fat"
|
||||||
debug = true
|
debug = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
|
@ -14,4 +14,11 @@ serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -15,8 +15,11 @@ quote = "1.0.10"
|
||||||
tiled = { version = "0.9.4", default-features = false }
|
tiled = { version = "0.9.4", default-features = false }
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
opt-level = 3
|
||||||
lto = true
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -4,11 +4,6 @@ version = "0.1.0"
|
||||||
authors = ["Corwin Kuiper <corwin@kuiper.dev>"]
|
authors = ["Corwin Kuiper <corwin@kuiper.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
debug = true
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1"
|
regex = "1"
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
|
@ -16,3 +11,13 @@ image = { version = "0.24", default-features = false, features = [ "png", "bmp"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1", features = ["parallel"] }
|
cc = { version = "1", features = ["parallel"] }
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
|
@ -10,11 +10,11 @@ edition = "2021"
|
||||||
agb = "0.14.0"
|
agb = "0.14.0"
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 2
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
opt-level = 3
|
||||||
lto = true
|
lto = "fat"
|
||||||
debug = true
|
debug = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
|
@ -3,11 +3,19 @@ name = "tools"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "4"
|
clap = "4"
|
||||||
toml_edit = "0.19"
|
toml_edit = "0.19"
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
dependency-graph = "0.1.5"
|
dependency-graph = "0.1.5"
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
debug = true
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat"
|
||||||
|
debug = true
|
||||||
|
codegen-units = 1
|
Loading…
Reference in a new issue