2021-09-28 15:33:28 +00:00
|
|
|
[package]
|
|
|
|
name = "egui-winit"
|
2022-04-30 18:27:27 +00:00
|
|
|
version = "0.18.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-04-29 06:17:49 +00:00
|
|
|
default = ["clipboard", "links"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
2022-04-11 08:53:16 +00:00
|
|
|
# implement bytemuck on most types.
|
|
|
|
bytemuck = ["egui/bytemuck"]
|
|
|
|
|
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
|
|
|
|
|
|
|
# enable opening links in a browser when an egui hyperlink is clicked.
|
|
|
|
links = ["webbrowser"]
|
|
|
|
|
2022-04-29 06:17:49 +00:00
|
|
|
# enable profiling with the puffin crate: https://github.com/EmbarkStudios/puffin
|
2022-04-13 09:06:13 +00:00
|
|
|
puffin = ["dep:puffin"]
|
|
|
|
|
2021-09-28 15:33:28 +00:00
|
|
|
# experimental support for a screen reader
|
|
|
|
screen_reader = ["tts"]
|
2021-09-30 17:18:51 +00:00
|
|
|
|
2022-04-29 06:17:49 +00:00
|
|
|
# to serialize `WindowSettings`
|
2022-04-09 11:54:47 +00:00
|
|
|
serde = ["egui/serde", "dep:serde"]
|
2021-10-07 20:30:15 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-04-30 18:27:27 +00:00
|
|
|
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [
|
2022-03-10 13:25:33 +00:00
|
|
|
"tracing",
|
|
|
|
] }
|
2022-04-29 06:17:49 +00:00
|
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] } # We use instant so we can (maybe) compile for web
|
2022-02-05 10:11:15 +00:00
|
|
|
tracing = "0.1"
|
|
|
|
winit = "0.26.1"
|
|
|
|
|
2022-04-10 14:41:07 +00:00
|
|
|
arboard = { version = "2.1", optional = true, default-features = false }
|
2022-04-13 09:06:13 +00:00
|
|
|
puffin = { version = "0.13", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
2022-04-30 15:58:12 +00:00
|
|
|
webbrowser = { version = "0.7", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
# feature screen_reader
|
2022-04-30 17:23:44 +00:00
|
|
|
tts = { version = "0.20", optional = true } # stuck on old version due to compilation problems on linux
|