Optimize rustybuzz and ttf-parser in Dev (#8873)

Dzmitry Malyshau created

This PR improves the `draw()` time from hundreds to about 30ms, so
roughly 10x.
It makes Zed quite usable in Dev profile.

Release Notes:
- N/A

Change summary

Cargo.toml | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

Cargo.toml 🔗

@@ -337,6 +337,8 @@ debug = "full"
 [profile.dev.package]
 taffy = { opt-level = 3 }
 cranelift-codegen = { opt-level = 3 }
+rustybuzz = { opt-level = 3 }
+ttf-parser = { opt-level = 3 }
 wasmtime-cranelift = { opt-level = 3 }
 
 [profile.release]