2021-09-28 15:33:28 +00:00
|
|
|
[package]
|
|
|
|
name = "egui-winit"
|
2021-10-24 14:08:44 +00:00
|
|
|
version = "0.15.0"
|
2021-09-28 15:33:28 +00:00
|
|
|
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]
|
2021-10-24 14:08:44 +00:00
|
|
|
egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
2021-09-28 15:33:28 +00:00
|
|
|
winit = "0.25"
|
|
|
|
|
2021-10-24 14:08:44 +00:00
|
|
|
epi = { version = "0.15.0", path = "../epi", optional = true }
|
2021-10-19 19:40:55 +00:00
|
|
|
|
2021-09-28 15:33:28 +00:00
|
|
|
copypasta = { version = "0.7", optional = true }
|
2021-09-30 17:18:51 +00:00
|
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
2021-09-28 15:33:28 +00:00
|
|
|
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"]
|
2021-09-30 17:18:51 +00:00
|
|
|
|
2021-10-19 19:40:55 +00:00
|
|
|
persistence = ["egui/serialize", "serde"]
|
2021-09-30 17:18:51 +00:00
|
|
|
serialize = ["egui/serialize", "serde"]
|
2021-10-07 20:30:15 +00:00
|
|
|
|
|
|
|
# implement bytemuck on most types.
|
|
|
|
convert_bytemuck = ["egui/convert_bytemuck"]
|