1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Use more workspace dependencies (#3975)

This commit is contained in:
Emil Ernerfeldt
2024-02-05 12:43:58 +01:00
committed by GitHub
parent a5f3881d59
commit bcebfecb84
15 changed files with 46 additions and 51 deletions

View File

@@ -48,15 +48,14 @@ epaint = { version = "0.25.0", path = "../epaint", default-features = false, fea
] }
bytemuck = "1.7"
log = { version = "0.4", features = ["std"] }
document-features.workspace = true
log.workspace = true
thiserror.workspace = true
type-map = "0.5.0"
web-time.workspace = true
wgpu = { workspace = true, features = ["wgsl"] }
#! ### Optional dependencies
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
# Optional dependencies:
winit = { workspace = true, optional = true, default-features = false, features = [
"rwh_06",

View File

@@ -13,7 +13,7 @@
//! The default is to prefer WebGPU and fall back on WebGL.
//!
//! ## Feature flags
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
#![doc = document_features::document_features!()]
//!
#![allow(unsafe_code)]