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:
@@ -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",
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user