2021-09-28 15:33:28 +00:00
|
|
|
[package]
|
|
|
|
name = "egui-winit"
|
2022-02-22 18:32:30 +00:00
|
|
|
version = "0.17.0"
|
2021-09-28 15:33:28 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
|
|
description = "Bindings for using egui with winit"
|
2021-12-25 18:32:25 +00:00
|
|
|
edition = "2021"
|
2022-04-09 11:54:47 +00:00
|
|
|
rust-version = "1.60"
|
2021-09-28 15:33:28 +00:00
|
|
|
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"]
|
2022-03-10 13:25:33 +00:00
|
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
2022-02-02 16:09:36 +00:00
|
|
|
default = ["clipboard", "dark-light", "links"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
|
|
|
# enable cut/copy/paste to OS clipboard.
|
|
|
|
# if disabled a clipboard will be simulated so you can still copy/paste within the egui app.
|
2022-04-10 14:41:07 +00:00
|
|
|
clipboard = ["arboard"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
2022-03-14 12:25:11 +00:00
|
|
|
# implement bytemuck on most types.
|
2022-04-09 11:54:47 +00:00
|
|
|
bytemuck = ["egui/bytemuck"]
|
2022-03-14 12:25:11 +00:00
|
|
|
|
|
|
|
# Only for `egui_glow` - the official eframe/epi backend.
|
|
|
|
epi_backend = ["epi", "glow"]
|
|
|
|
|
2021-09-28 15:33:28 +00:00
|
|
|
# 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
|
|
|
|
2022-04-09 11:54:47 +00:00
|
|
|
persistence = ["egui/serde", "serde", "epi?/persistence"]
|
|
|
|
serde = ["egui/serde", "dep:serde"]
|
2021-10-07 20:30:15 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-10 13:25:33 +00:00
|
|
|
egui = { version = "0.17.0", path = "../egui", default-features = false, features = [
|
|
|
|
"tracing",
|
|
|
|
] }
|
2022-02-05 10:11:15 +00:00
|
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
|
|
|
tracing = "0.1"
|
|
|
|
winit = "0.26.1"
|
|
|
|
|
2022-04-09 11:54:47 +00:00
|
|
|
# Optional:
|
2022-02-22 18:32:30 +00:00
|
|
|
epi = { version = "0.17.0", path = "../epi", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
2022-04-10 14:41:07 +00:00
|
|
|
arboard = { version = "2.1", optional = true, default-features = false }
|
|
|
|
dark-light = { version = "0.2.1", optional = true } # detect dark mode system preference
|
2022-03-14 12:25:11 +00:00
|
|
|
glow = { version = "0.11", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
2022-02-21 14:40:25 +00:00
|
|
|
webbrowser = { version = "0.6", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
# feature screen_reader
|
|
|
|
tts = { version = "0.20", optional = true }
|