mirror of https://github.com/emilk/egui.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.4 KiB
78 lines
2.4 KiB
[package]
|
|
name = "egui_glow"
|
|
version = "0.17.0"
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
description = "Bindings for using egui natively using the glow library"
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
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
|
|
|
|
|
|
[features]
|
|
default = ["clipboard", "default_fonts", "links", "persistence", "winit"]
|
|
|
|
# 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"]
|
|
|
|
# enable persisting native window options and egui memory
|
|
persistence = [
|
|
"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",
|
|
]
|
|
|
|
# experimental support for a screen reader
|
|
screen_reader = ["egui-winit/screen_reader"]
|
|
|
|
# enable glutin/winit integration.
|
|
# if you want to use glow painter on web disable this feature.
|
|
winit = ["egui-winit", "glutin"]
|
|
|
|
dark-light = ["egui-winit/dark-light"] # detect dark mode system preference
|
|
|
|
|
|
[dependencies]
|
|
egui = { version = "0.17.0", path = "../egui", default-features = false, features = [
|
|
"convert_bytemuck",
|
|
] }
|
|
epi = { version = "0.17.0", path = "../epi", optional = true }
|
|
|
|
bytemuck = "1.7"
|
|
glow = "0.11"
|
|
memoffset = "0.6"
|
|
tracing = "0.1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
egui-winit = { version = "0.17.0", path = "../egui-winit", optional = true, default-features = false, features = [
|
|
"epi_backend",
|
|
] }
|
|
glutin = { version = "0.28.0", optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
wasm-bindgen = { version = "0.2" }
|
|
|