Remove ztracing dependency from GPUI (#64237)

Release Notes:

- N/A
This commit is contained in:
Finn Evers authored and GitHub committed 2026-09-15 12:52:48 +00:00
1 parent 94d29d40f1
commit 8e20f12347
3 files changed
-7

No files matched your search

Generated
-2
View File
@@ -7542,7 +7542,6 @@ dependencies = [
"sum_tree",
"taffy",
"thiserror 2.0.17",
"tracing",
"ttf-parser",
"unicode-segmentation",
"url",
@@ -7556,7 +7555,6 @@ dependencies = [
"windows 0.62.2",
"zed-font-kit",
"zed-scap",
"ztracing",
]
[[package]]
-3
View File
@@ -94,7 +94,6 @@ strum.workspace = true
sum_tree.workspace = true
taffy = "=0.13.0"
thiserror.workspace = true
tracing.workspace = true
gpui_util.workspace = true
hdrhistogram = { workspace = true, optional = true }
waker-fn = "1.2.0"
@@ -106,7 +105,6 @@ url.workspace = true
uuid.workspace = true
web-time.workspace = true
heapless.workspace = true
ztracing.workspace = true
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
# Workspace inheritance would re-enable defaults, including blocking channel synchronization.
@@ -170,7 +168,6 @@ ignored = [
"getrandom",
"objc2",
"objc2-metal",
"tracing",
]
ignored-paths = ["src/_ownership_and_data_flow.rs"]
-2
View File
@@ -187,13 +187,11 @@ impl SvgRenderer {
}
/// Parses SVG data into a [`ParsedSvg`] that can be rasterized at any scale.
#[ztracing::instrument(skip_all)]
pub fn parse_svg(&self, bytes: &[u8]) -> Result<ParsedSvg, usvg::Error> {
usvg::Tree::from_data(bytes, &self.usvg_options).map(ParsedSvg)
}
/// Rasterizes a previously parsed SVG into an image buffer.
#[ztracing::instrument(skip_all)]
pub fn render_parsed(
&self,
svg: &ParsedSvg,