diff --git a/server/Cargo.toml b/server/Cargo.toml index e62e35ab5..676581046 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -5,3 +5,8 @@ resolver = "2" [profile.release] strip = true lto = "thin" + +# Enable max optimizations for dependencies, but not for our code +# nessesary to get acceptable performance out of the image processing code +[profile.dev.package."*"] +opt-level = 3 \ No newline at end of file