1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -04:00

Add taplo.toml for toml formatting (#7618)

This commit is contained in:
Emil Ernerfeldt
2025-10-09 15:38:00 +02:00
committed by GitHub
parent 82b6b3c98d
commit d50287b83c
42 changed files with 185 additions and 257 deletions

View File

@@ -1,10 +1,7 @@
[package]
name = "egui_kittest"
version.workspace = true
authors = [
"Lucas Meurer <lucasmeurer96@gmail.com>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
]
authors = ["Lucas Meurer <lucasmeurer96@gmail.com>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Testing library for egui based on kittest and AccessKit"
edition.workspace = true
rust-version.workspace = true
@@ -24,13 +21,7 @@ rustdoc-args = ["--generate-link-to-definition"]
[features]
## Adds a wgpu-based test renderer.
wgpu = [
"dep:egui-wgpu",
"dep:pollster",
"dep:image",
"dep:wgpu",
"eframe?/wgpu",
]
wgpu = ["dep:egui-wgpu", "dep:pollster", "dep:image", "dep:wgpu", "eframe?/wgpu"]
## Adds a dify-based image snapshot utility.
snapshot = ["dep:dify", "dep:image", "dep:open", "dep:tempfile", "image/png"]
@@ -52,12 +43,7 @@ egui-wgpu = { workspace = true, optional = true }
pollster = { workspace = true, optional = true }
image = { workspace = true, optional = true }
# Enable DX12 because it always comes with a software rasterizer.
wgpu = { workspace = true, features = [
"metal",
"dx12",
"vulkan",
"gles",
], optional = true }
wgpu = { workspace = true, features = ["metal", "dx12", "vulkan", "gles"], optional = true }
# snapshot dependencies
dify = { workspace = true, optional = true }