Remove cylic dependency of egui_kittest on itself

This commit is contained in:
Emil Ernerfeldt 2024-12-16 18:01:33 +01:00
parent eb403655ce
commit 5b2b8cfb34
3 changed files with 7 additions and 5 deletions

View File

@ -1394,7 +1394,6 @@ dependencies = [
"document-features",
"egui",
"egui-wgpu",
"egui_kittest",
"image",
"kittest",
"pollster 0.4.0",

View File

@ -1,7 +1,10 @@
[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
@ -39,10 +42,9 @@ dify = { workspace = true, optional = true }
document-features = { workspace = true, optional = true }
[dev-dependencies]
egui_kittest = { workspace = true, features = ["wgpu", "snapshot"] }
wgpu = { workspace = true, features = ["metal"] }
image = { workspace = true, features = ["png"] }
egui = { workspace = true, features = ["default_fonts"] }
image = { workspace = true, features = ["png"] }
wgpu = { workspace = true, features = ["metal"] }
[lints]
workspace = true

View File

@ -10,5 +10,6 @@ fn test_shrink() {
harness.fit_contents();
#[cfg(all(feature = "snapshot", feature = "wgpu"))]
harness.wgpu_snapshot("test_shrink");
}