[workspace]
members = [
    "anime",
    "anup",
]

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[workspace]
members = [
    "anime",
    "anup",
]

[profile.release]
lto = true
codegen-units = 1
panic = "abort"

[profile.release.package.syn]
opt-level = 0
codegen-units = 256

[profile.release.package.quote]
opt-level = 0
codegen-units = 256

[profile.release.package.proc-macro2]
opt-level = 0
codegen-units = 256

[profile.release.package.serde_derive]
opt-level = 0
codegen-units = 256

[profile.release.package.enum_dispatch]
opt-level = 0
codegen-units = 256

[profile.release.package.diesel_derives]
opt-level = 0
codegen-units = 256

[profile.release.package.thiserror-impl]
opt-level = 0
codegen-units = 256
Improve release build times significantly
Improve release build times significantly

By overriding each procedural macro crate to use debug-like optimization levels, we can shave a LOT of time off the build.
On my Ryzen 3700x, this brings the overall build time down from ~1m30s to ~55s (35 seconds).

This should have no effect on runtime performance.
