From c062bca6eeac3c8db3aecfbaa99172e1c74da9fc Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 4 Jul 2022 00:11:08 +0200 Subject: [PATCH] faster builds: remove `tracing-attributes` feature from `tracing` --- eframe/Cargo.toml | 2 +- egui-wgpu/Cargo.toml | 2 +- egui-winit/Cargo.toml | 2 +- egui/Cargo.toml | 2 +- egui_demo_lib/Cargo.toml | 2 +- egui_extras/Cargo.toml | 2 +- egui_glow/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml index 68a26967..7da82f80 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 f48ea866..ef3c0430 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 8ad99469..e76a399e 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 36eb1808..eea1e829 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 7253748b..28fbc7ac 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 ffd2207c..1e4f32fe 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 8e6b5276..5bf226a0 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.