
* Move window building to egui-winit * Move icon loading to egui-winit * `use glow::HasContext;` -> `use glow::HasContext as _;` * Move FileStorage into epi behind a feature flag * De-duplicate screen_size_in_pixels and native_pixels_per_point * Move creation of FileStorage to epi * Handle epi app output (window size changes etc) in egui-winit * Move app and memory persistence and autosave logic to egui-winit * fix check.sh * Make the epi backend opt-in for egui_glium and egui_glow * Fix persistence * Add integration name to epi::IntegrationInfo and the demo * Clean up Cargo.toml files and fix making egui_glium optional * fix typo * Make egui_glium compile without the `epi` feature
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
[package]
|
|
name = "egui-winit"
|
|
version = "0.14.0"
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
description = "Bindings for using egui with winit"
|
|
edition = "2018"
|
|
homepage = "https://github.com/emilk/egui/tree/master/egui-winit"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/emilk/egui/tree/master/egui-winit"
|
|
categories = ["gui", "game-development"]
|
|
keywords = ["winit", "egui", "gui", "gamedev"]
|
|
include = [
|
|
"../LICENSE-APACHE",
|
|
"../LICENSE-MIT",
|
|
"**/*.rs",
|
|
"Cargo.toml",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[dependencies]
|
|
egui = { version = "0.14.0", path = "../egui", default-features = false }
|
|
winit = "0.25"
|
|
|
|
epi = { version = "0.14.0", path = "../epi", optional = true }
|
|
|
|
copypasta = { version = "0.7", optional = true }
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
|
webbrowser = { version = "0.5", optional = true }
|
|
|
|
# feature screen_reader
|
|
tts = { version = "0.17", optional = true }
|
|
|
|
[features]
|
|
default = ["clipboard", "links"]
|
|
|
|
# enable cut/copy/paste to OS clipboard.
|
|
# if disabled a clipboard will be simulated so you can still copy/paste within the egui app.
|
|
clipboard = ["copypasta"]
|
|
|
|
# enable opening links in a browser when an egui hyperlink is clicked.
|
|
links = ["webbrowser"]
|
|
|
|
# experimental support for a screen reader
|
|
screen_reader = ["tts"]
|
|
|
|
persistence = ["egui/serialize", "serde"]
|
|
serialize = ["egui/serialize", "serde"]
|
|
|
|
# implement bytemuck on most types.
|
|
convert_bytemuck = ["egui/convert_bytemuck"]
|