-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddf79ce
commit 148e79a
Showing
8 changed files
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
[package] | ||
name = "egui_kittest" | ||
version.workspace = true | ||
authors = ["Lucas Meurer <[email protected]>", "Emil Ernerfeldt <[email protected]>"] | ||
description = "Testing library for egui based on kittest and AccessKit" | ||
edition.workspace = true | ||
license.workspace = true | ||
rust-version.workspace = true | ||
version.workspace = true | ||
homepage = "https://github.com/emilk/egui" | ||
license.workspace = true | ||
readme = "./README.md" | ||
repository = "https://github.com/emilk/egui" | ||
categories = ["gui", "development-tools::testing", "accessibility"] | ||
keywords = ["gui", "immediate", "egui", "testing", "accesskit"] | ||
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
# Adds a wgpu-based test renderer. | ||
wgpu = ["dep:egui-wgpu", "dep:pollster", "dep:image"] | ||
snapshot = ["dep:dify"] | ||
|
||
default = ["image?/png"] | ||
# Adds a dify-based image snapshot utility. | ||
snapshot = ["dep:dify", "dep:image", "image/png"] | ||
|
||
|
||
[dependencies] | ||
accesskit_consumer = "0.24.0" | ||
kittest = { git = "https://github.com/rerun-io/kittest", version = "0.1", branch = "main" } | ||
kittest.workspace = true | ||
egui = { workspace = true, features = ["accesskit"] } | ||
|
||
# wgpu dependencies | ||
egui-wgpu = { workspace = true, optional = true } | ||
pollster = { version = "0.3", optional = true } | ||
pollster = { workspace = true, optional = true } | ||
image = { workspace = true, optional = true } | ||
|
||
# snapshot dependencies | ||
dify = { version = "0.7.0", optional = true, default-features = false } | ||
dify = { workspace = true, optional = true } | ||
|
||
## Enable this when generating docs. | ||
document-features = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
wgpu = { workspace = true, features = ["metal"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters