2021-10-18 21:13:32 +00:00
|
|
|
[package]
|
|
|
|
name = "egui_glow"
|
2022-08-20 14:44:05 +00:00
|
|
|
version = "0.19.0"
|
2021-10-18 21:13:32 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
|
|
description = "Bindings for using egui natively using the glow library"
|
2021-12-25 18:32:25 +00:00
|
|
|
edition = "2021"
|
2022-11-16 18:08:03 +00:00
|
|
|
rust-version = "1.65"
|
2022-08-20 13:18:02 +00:00
|
|
|
homepage = "https://github.com/emilk/egui/tree/master/crates/egui_glow"
|
2021-10-18 21:13:32 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
2022-08-20 13:18:02 +00:00
|
|
|
repository = "https://github.com/emilk/egui/tree/master/crates/egui_glow"
|
2021-10-18 21:13:32 +00:00
|
|
|
categories = ["gui", "game-development"]
|
|
|
|
keywords = ["glow", "egui", "gui", "gamedev"]
|
|
|
|
include = [
|
|
|
|
"../LICENSE-APACHE",
|
|
|
|
"../LICENSE-MIT",
|
|
|
|
"**/*.rs",
|
|
|
|
"Cargo.toml",
|
|
|
|
"src/shader/*.glsl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
2022-04-29 06:17:49 +00:00
|
|
|
default = []
|
2021-10-18 21:13:32 +00:00
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## For the `winit` integration:
|
|
|
|
## 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-11 08:53:16 +00:00
|
|
|
clipboard = ["egui-winit?/clipboard"]
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## For the `winit` integration:
|
|
|
|
## enable opening links in a browser when an egui hyperlink is clicked.
|
2022-04-11 08:53:16 +00:00
|
|
|
links = ["egui-winit?/links"]
|
2021-10-18 21:13:32 +00:00
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Experimental support for a screen reader.
|
2022-04-29 06:17:49 +00:00
|
|
|
screen_reader = ["egui-winit?/screen_reader"]
|
2021-10-18 21:13:32 +00:00
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Enable profiling with the [`puffin`](https://docs.rs/puffin) crate.
|
2022-04-13 09:06:13 +00:00
|
|
|
puffin = ["dep:puffin", "egui-winit?/puffin"]
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Enable [`winit`](https://docs.rs/winit) integration.
|
2022-11-07 11:37:37 +00:00
|
|
|
winit = ["egui-winit"]
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-08-20 14:44:05 +00:00
|
|
|
egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
|
2022-04-09 11:54:47 +00:00
|
|
|
"bytemuck",
|
2022-02-05 10:11:15 +00:00
|
|
|
] }
|
|
|
|
|
|
|
|
bytemuck = "1.7"
|
|
|
|
glow = "0.11"
|
|
|
|
memoffset = "0.6"
|
2022-07-03 22:11:08 +00:00
|
|
|
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
2022-06-09 15:41:37 +00:00
|
|
|
#! ### Optional dependencies
|
|
|
|
## Enable this when generating docs.
|
|
|
|
document-features = { version = "0.2", optional = true }
|
|
|
|
|
2022-04-09 11:54:47 +00:00
|
|
|
# Native:
|
2022-02-05 10:11:15 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-08-20 14:44:05 +00:00
|
|
|
egui-winit = { version = "0.19.0", path = "../egui-winit", optional = true, default-features = false }
|
2022-11-07 11:37:37 +00:00
|
|
|
puffin = { version = "0.14", optional = true }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
2022-04-09 11:54:47 +00:00
|
|
|
# Web:
|
2022-02-05 10:11:15 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-03-10 13:25:33 +00:00
|
|
|
web-sys = { version = "0.3", features = ["console"] }
|
2022-02-05 10:11:15 +00:00
|
|
|
wasm-bindgen = { version = "0.2" }
|
2022-04-29 06:17:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-08-14 14:23:46 +00:00
|
|
|
glutin = "0.29.0" # examples/pure_glow
|
2022-04-29 06:17:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "pure_glow"
|
2022-08-02 21:04:59 +00:00
|
|
|
required-features = ["winit", "egui/default_fonts"]
|