mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
43 lines
1.4 KiB
TOML
43 lines
1.4 KiB
TOML
[package]
|
|
name = "egui_inspection"
|
|
version.workspace = true
|
|
authors = ["Lucas Meurer <hi@lucasmerlin.me>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
description = "Protocol and egui::Plugin for inspection of egui apps"
|
|
edition.workspace = true
|
|
rust-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", "egui", "inspector", "accesskit", "mcp"]
|
|
include = ["../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
|
|
|
[features]
|
|
default = []
|
|
|
|
## Screenshot PNG encoding — the `EncodedPng::from_color_image` / `from_rgba` constructors.
|
|
png = ["dep:image", "image/png"]
|
|
|
|
## `InspectionPlugin` — an `egui::Plugin` that serves the request/response inspection
|
|
## protocol over TCP. Apps usually enable inspection by setting the `EGUI_INSPECTION` env var
|
|
## (handled by eframe's `inspection` feature).
|
|
plugin = ["png", "dep:log"]
|
|
|
|
[dependencies]
|
|
egui = { workspace = true, features = ["serde"] }
|
|
serde.workspace = true
|
|
serde_bytes.workspace = true
|
|
rmp-serde.workspace = true
|
|
|
|
image = { workspace = true, optional = true }
|
|
log = { workspace = true, optional = true }
|
|
document-features = { workspace = true, optional = true }
|
|
|
|
[lints]
|
|
workspace = true
|