diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml index 68a26967cbd..7da82f80f91 100644 --- a/eframe/Cargo.toml +++ b/eframe/Cargo.toml @@ -65,7 +65,7 @@ egui = { version = "0.18.0", path = "../egui", default-features = false, feature "bytemuck", "tracing", ] } -tracing = "0.1" +tracing = { version = "0.1", default-features = false, features = ["std"] } #! ### Optional dependencies ## Enable this when generating docs. diff --git a/egui-wgpu/Cargo.toml b/egui-wgpu/Cargo.toml index f48ea866740..ef3c04301f6 100644 --- a/egui-wgpu/Cargo.toml +++ b/egui-wgpu/Cargo.toml @@ -38,7 +38,7 @@ egui = { version = "0.18.1", path = "../egui", default-features = false, feature ] } bytemuck = "1.7" -tracing = "0.1" +tracing = { version = "0.1", default-features = false, features = ["std"] } type-map = "0.5.0" wgpu = "0.13" diff --git a/egui-winit/Cargo.toml b/egui-winit/Cargo.toml index 8ad99469234..e76a399e5ef 100644 --- a/egui-winit/Cargo.toml +++ b/egui-winit/Cargo.toml @@ -45,7 +45,7 @@ egui = { version = "0.18.0", path = "../egui", default-features = false, feature "tracing", ] } instant = { version = "0.1", features = ["wasm-bindgen"] } # We use instant so we can (maybe) compile for web -tracing = "0.1" +tracing = { version = "0.1", default-features = false, features = ["std"] } winit = "0.26.1" #! ### Optional dependencies diff --git a/egui/Cargo.toml b/egui/Cargo.toml index 36eb180895e..eea1e829252 100644 --- a/egui/Cargo.toml +++ b/egui/Cargo.toml @@ -68,4 +68,4 @@ ron = { version = "0.7", optional = true } serde = { version = "1", optional = true, features = ["derive", "rc"] } # egui doesn't log much, but when it does, it uses [`tracing`](https://docs.rs/tracing). -tracing = { version = "0.1", optional = true } +tracing = { version = "0.1", optional = true, default-features = false, features = ["std"] } diff --git a/egui_demo_lib/Cargo.toml b/egui_demo_lib/Cargo.toml index 7253748b02a..28fbc7ac269 100644 --- a/egui_demo_lib/Cargo.toml +++ b/egui_demo_lib/Cargo.toml @@ -33,7 +33,7 @@ syntax_highlighting = ["syntect"] egui = { version = "0.18.0", path = "../egui", default-features = false } egui_extras = { version = "0.18.0", path = "../egui_extras" } enum-map = { version = "2", features = ["serde"] } -tracing = "0.1" +tracing = { version = "0.1", default-features = false, features = ["std"] } unicode_names2 = { version = "0.5.0", default-features = false } #! ### Optional dependencies diff --git a/egui_extras/Cargo.toml b/egui_extras/Cargo.toml index ffd2207c0dc..1e4f32fe432 100644 --- a/egui_extras/Cargo.toml +++ b/egui_extras/Cargo.toml @@ -67,4 +67,4 @@ usvg = { version = "0.23", optional = true } serde = { version = "1", features = ["derive"], optional = true } # feature "tracing" -tracing = { version = "0.1", optional = true } +tracing = { version = "0.1", optional = true, default-features = false, features = ["std"] } diff --git a/egui_glow/Cargo.toml b/egui_glow/Cargo.toml index 8e6b5276750..5bf226a0cc2 100644 --- a/egui_glow/Cargo.toml +++ b/egui_glow/Cargo.toml @@ -54,7 +54,7 @@ egui = { version = "0.18.0", path = "../egui", default-features = false, feature bytemuck = "1.7" glow = "0.11" memoffset = "0.6" -tracing = "0.1" +tracing = { version = "0.1", default-features = false, features = ["std"] } #! ### Optional dependencies ## Enable this when generating docs.