summaryrefslogtreecommitdiff
path: root/egui_glium/Cargo.toml
blob: 654f9ddb9185ebb0472e0aa25df98a1688845205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "egui_glium"
version = "0.16.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2021"
rust-version = "1.56"
homepage = "https://github.com/emilk/egui/tree/master/egui_glium"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/egui_glium"
categories = ["gui", "game-development"]
keywords = ["glium", "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"]

# 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"]


[dependencies]
egui = { version = "0.16.0", path = "../egui", default-features = false, features = [
  "convert_bytemuck",
  "single_threaded",
] }
egui-winit = { version = "0.16.0", path = "../egui-winit", default-features = false, features = ["epi"] }
epi = { version = "0.16.0", path = "../epi", optional = true }

ahash = "0.7"
bytemuck = "1.7"
glium = "0.31"

[dev-dependencies]
image = { version = "0.24", default-features = false, features = ["png"] }