[workspace]
members = [
    "librsvg",
    "librsvg_crate",
    "rsvg_internals",
    "servo_crates/derive_common",
    "servo_crates/selectors",
    "servo_crates/servo_arc",
    "servo_crates/to_shmem",
    "servo_crates/to_shmem_derive",
]

[profile.release]
lto = true
debug = true

[profile.bench]
lto = true

[workspace]
members = [
    "librsvg",
    "librsvg_crate",
    "rsvg_internals",
    "servo_crates/derive_common",
    "servo_crates/selectors",
    "servo_crates/servo_arc",
    "servo_crates/to_shmem",
    "servo_crates/to_shmem_derive",
]

[profile.release]
debug = true

Disable link-time optimization (LTO) in release mode
Disable link-time optimization (LTO) in release mode

See https://gitlab.gnome.org/GNOME/librsvg/issues/523 for the
timings.

Initially I added LTO during the very early stages of Rustification,
because it didn't seem to affect things very much.  Now that
everything is in Rust, it *does* affect things very much :)

I suppose downstreams can make the decision to use LTO or not
themselves.
