diff --git a/Cargo.toml b/Cargo.toml index 0a203a7832..09a12ef243 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,6 @@ authors = ["gfx-rs developers"] package = "wgpu-core" path = "./wgpu-core" version = "22.0.0" -features = ["max_level_warn", "release_max_level_warn"] [workspace.dependencies.wgt] package = "wgpu-types" @@ -65,7 +64,6 @@ version = "22.0.0" package = "wgpu-hal" path = "./wgpu-hal" version = "22.0.0" -features = ["max_level_warn", "release_max_level_warn"] [workspace.dependencies.naga] path = "./naga" @@ -99,7 +97,7 @@ libc = "0.2" # libloading 0.8 switches from `winapi` to `windows-sys`; permit either libloading = ">=0.7, <0.9" libtest-mimic = "0.6" -log = { version = "0.4", features = ["max_level_warn", "release_max_level_warn"] } +log = "0.4" nanorand = { version = "0.7", default-features = false, features = ["wyrand"] } # https://github.com/Razaekel/noise-rs/issues/335 (Updated dependencies) noise = { version = "0.8", git = "https://github.com/Razaekel/noise-rs.git", rev = "c6942d4fb70af26db4441edcf41f90fa115333f2" } diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index cd73f5dc9e..016a39332b 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -117,6 +117,20 @@ fragile-send-sync-non-atomic-wasm = [ "wgt/fragile-send-sync-non-atomic-wasm", ] +max_level_off = ["wgc/max_level_off", "hal/max_level_off"] +max_level_error = ["wgc/max_level_error", "hal/max_level_error"] +max_level_warn = ["wgc/max_level_warn", "hal/max_level_warn"] +max_level_info = ["wgc/max_level_info", "hal/max_level_info"] +max_level_debug = ["wgc/max_level_debug", "hal/max_level_debug"] +max_level_trace = ["wgc/max_level_trace", "hal/max_level_trace"] + +release_max_level_off = ["wgc/release_max_level_off", "hal/release_max_level_off"] +release_max_level_error = ["wgc/release_max_level_error", "hal/release_max_level_error"] +release_max_level_warn = ["wgc/release_max_level_warn", "hal/release_max_level_warn"] +release_max_level_info = ["wgc/release_max_level_info", "hal/release_max_level_info"] +release_max_level_debug = ["wgc/release_max_level_debug", "hal/release_max_level_debug"] +release_max_level_trace = ["wgc/release_max_level_trace", "hal/release_max_level_trace"] + # wgpu-core is always available as an optional dependency, "wgc". # Whenever wgpu-core is selected, we want raw window handle support. [dependencies.wgc]