2021-10-18 21:13:32 +00:00
|
|
|
[package]
|
|
|
|
name = "egui_glow"
|
2021-10-24 14:08:44 +00:00
|
|
|
version = "0.15.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"
|
|
|
|
edition = "2018"
|
|
|
|
homepage = "https://github.com/emilk/egui/tree/master/egui_glow"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/emilk/egui/tree/master/egui_glow"
|
|
|
|
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
|
|
|
|
|
|
|
|
[dependencies]
|
2021-10-24 14:08:44 +00:00
|
|
|
egui = { version = "0.15.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
2021-10-19 19:40:55 +00:00
|
|
|
|
2021-11-03 18:17:07 +00:00
|
|
|
epi = { version = "0.15.0", path = "../epi", optional = true }
|
2021-10-18 21:13:32 +00:00
|
|
|
glow = "0.11"
|
|
|
|
memoffset = "0.6"
|
|
|
|
|
2021-11-03 18:17:07 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
egui-winit = { version = "0.15.0", path = "../egui-winit", default-features = false, features = ["epi"], optional = true }
|
2021-12-20 21:44:53 +00:00
|
|
|
glutin = { version = "0.28.0", optional = true }
|
2021-11-03 18:17:07 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
web-sys = { version = "0.3", features=["console"] }
|
|
|
|
wasm-bindgen = { version = "0.2" }
|
|
|
|
|
2021-10-18 21:13:32 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
image = { version = "0.23", default-features = false, features = ["png"] }
|
|
|
|
|
|
|
|
[features]
|
2021-11-03 18:17:07 +00:00
|
|
|
default = ["clipboard", "default_fonts", "links", "persistence", "winit"]
|
2021-10-18 21:13:32 +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.
|
|
|
|
clipboard = ["egui-winit/clipboard"]
|
|
|
|
|
|
|
|
# If set, egui will use `include_bytes!` to bundle some fonts.
|
|
|
|
# If you plan on specifying your own fonts you may disable this feature.
|
|
|
|
default_fonts = ["egui/default_fonts"]
|
|
|
|
|
|
|
|
# enable opening links in a browser when an egui hyperlink is clicked.
|
|
|
|
links = ["egui-winit/links"]
|
|
|
|
|
2021-10-19 19:40:55 +00:00
|
|
|
# enable code for sabing
|
2021-10-18 21:13:32 +00:00
|
|
|
persistence = [
|
2021-10-19 19:40:55 +00:00
|
|
|
"egui-winit/persistence",
|
|
|
|
"egui/persistence",
|
|
|
|
"epi", # also implied by the lines below, see https://github.com/rust-lang/cargo/issues/8832
|
|
|
|
"epi/file_storage",
|
|
|
|
"epi/persistence",
|
2021-10-18 21:13:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# experimental support for a screen reader
|
|
|
|
screen_reader = ["egui-winit/screen_reader"]
|
2021-11-03 18:17:07 +00:00
|
|
|
|
|
|
|
# enable glutin/winit integration.
|
|
|
|
# if you want to use glow painter on web disable it.
|
|
|
|
# if disabled reduce crate size and build time.
|
2021-11-03 18:35:20 +00:00
|
|
|
winit = ["egui-winit", "glutin"]
|