From 5397d76d38cb59a027230769c7c5f5cfb28c55ae Mon Sep 17 00:00:00 2001 From: rydb Date: Tue, 7 Oct 2025 13:00:25 -0500 Subject: [PATCH 1/2] removing tracing from default features from all packages --- packages/blitz-dom/Cargo.toml | 1 - packages/blitz-paint/Cargo.toml | 2 +- packages/blitz-shell/Cargo.toml | 2 +- packages/blitz/Cargo.toml | 2 +- packages/mini-dxn/Cargo.toml | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/blitz-dom/Cargo.toml b/packages/blitz-dom/Cargo.toml index ba6415e16..68651a3d8 100644 --- a/packages/blitz-dom/Cargo.toml +++ b/packages/blitz-dom/Cargo.toml @@ -12,7 +12,6 @@ rust-version.workspace = true [features] default = [ - "tracing", "svg", "woff-rust", "accessibility", diff --git a/packages/blitz-paint/Cargo.toml b/packages/blitz-paint/Cargo.toml index c35aea5cd..6aa7ae9b0 100644 --- a/packages/blitz-paint/Cargo.toml +++ b/packages/blitz-paint/Cargo.toml @@ -11,7 +11,7 @@ edition.workspace = true rust-version.workspace = true [features] -default = ["tracing", "svg"] +default = ["svg"] tracing = ["dep:tracing"] svg = ["dep:anyrender_svg", "dep:usvg", "blitz-dom/svg"] diff --git a/packages/blitz-shell/Cargo.toml b/packages/blitz-shell/Cargo.toml index 621747641..871cee6f5 100644 --- a/packages/blitz-shell/Cargo.toml +++ b/packages/blitz-shell/Cargo.toml @@ -11,7 +11,7 @@ edition.workspace = true rust-version.workspace = true [features] -default = ["accessibility", "clipboard", "tracing", "file_dialog"] +default = ["accessibility", "clipboard", "file_dialog"] accessibility = [ "dep:accesskit", "dep:accesskit_winit", diff --git a/packages/blitz/Cargo.toml b/packages/blitz/Cargo.toml index 60917b2a8..723f3f680 100644 --- a/packages/blitz/Cargo.toml +++ b/packages/blitz/Cargo.toml @@ -11,7 +11,7 @@ edition.workspace = true rust-version.workspace = true [features] -default = ["net", "accessibility", "tracing"] +default = ["net", "accessibility"] net = ["dep:tokio", "dep:url", "dep:blitz-net"] accessibility = ["blitz-shell/accessibility"] tracing = ["blitz-shell/tracing"] diff --git a/packages/mini-dxn/Cargo.toml b/packages/mini-dxn/Cargo.toml index ae7109b49..db271c027 100644 --- a/packages/mini-dxn/Cargo.toml +++ b/packages/mini-dxn/Cargo.toml @@ -14,7 +14,7 @@ rust-version.workspace = true publish = false [features] -default = ["accessibility", "hot-reload", "tracing", "net", "svg", "gpu"] +default = ["accessibility", "hot-reload", "net", "svg", "gpu"] svg = ["blitz-dom/svg", "blitz-paint/svg"] system_fonts = ["blitz-dom/system_fonts"] net = ["dep:tokio", "dep:blitz-net"] From 942dc267e5384ec68b236fd56d64b506f9974eeb Mon Sep 17 00:00:00 2001 From: rydb Date: Tue, 7 Oct 2025 13:06:21 -0500 Subject: [PATCH 2/2] re-enabled tracing in wgpu_texture --- examples/wgpu_texture/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/wgpu_texture/Cargo.toml b/examples/wgpu_texture/Cargo.toml index f63d1d1e5..cb74a9b35 100644 --- a/examples/wgpu_texture/Cargo.toml +++ b/examples/wgpu_texture/Cargo.toml @@ -11,10 +11,10 @@ publish = false [dependencies] anyrender = { workspace = true } anyrender_vello = { workspace = true } -blitz-traits = { workspace = true } -blitz-dom = { workspace = true } +blitz-traits = { workspace = true} +blitz-dom = { workspace = true, features = ["tracing"]} blitz-html = { workspace = true } -blitz-shell = { workspace = true } +blitz-shell = { workspace = true, features = ["tracing"] } mini-dxn = { workspace = true, features = ["gpu", "system_fonts"] } wgpu_context = { workspace = true } dioxus = { workspace = true }