2020-12-29 14:57:13 +00:00
|
|
|
[package]
|
|
|
|
name = "eframe"
|
2022-02-22 18:32:30 +00:00
|
|
|
version = "0.17.0"
|
2020-12-29 14:57:13 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
2021-01-17 13:48:59 +00:00
|
|
|
description = "egui framework - write GUI apps that compiles to web and/or natively"
|
2021-12-25 18:32:25 +00:00
|
|
|
edition = "2021"
|
2022-04-09 11:54:47 +00:00
|
|
|
rust-version = "1.60"
|
2021-09-03 19:12:44 +00:00
|
|
|
homepage = "https://github.com/emilk/egui/tree/master/eframe"
|
2020-12-29 14:57:13 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
2021-09-03 19:12:44 +00:00
|
|
|
repository = "https://github.com/emilk/egui/tree/master/eframe"
|
2021-01-17 14:16:00 +00:00
|
|
|
categories = ["gui", "game-development"]
|
2020-12-29 14:57:13 +00:00
|
|
|
keywords = ["egui", "gui", "gamedev"]
|
2022-03-10 13:25:33 +00:00
|
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
2020-12-29 14:57:13 +00:00
|
|
|
|
2021-05-12 18:02:25 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2020-12-29 14:57:13 +00:00
|
|
|
[lib]
|
|
|
|
|
2021-09-04 15:44:01 +00:00
|
|
|
|
2021-01-04 00:44:02 +00:00
|
|
|
[features]
|
2022-03-11 18:14:27 +00:00
|
|
|
default = ["default_fonts"]
|
2021-04-07 18:14:44 +00:00
|
|
|
|
2022-04-11 08:53:16 +00:00
|
|
|
# detect dark mode system preference
|
|
|
|
dark-light = ["egui-winit/dark-light"]
|
|
|
|
|
2021-04-07 18:14:44 +00:00
|
|
|
# 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"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
|
|
|
# Enable saving app state to disk.
|
2021-10-19 19:40:55 +00:00
|
|
|
persistence = [
|
|
|
|
"egui-winit/persistence",
|
2022-04-09 11:54:47 +00:00
|
|
|
"egui_glow/persistence",
|
2021-10-19 19:40:55 +00:00
|
|
|
"egui/persistence",
|
|
|
|
"epi/persistence",
|
|
|
|
]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
# enable screen reader support (requires `ctx.options().screen_reader = true;`)
|
2021-10-19 19:40:55 +00:00
|
|
|
screen_reader = [
|
|
|
|
"egui-winit/screen_reader",
|
2022-04-09 11:54:47 +00:00
|
|
|
"egui_glow/screen_reader",
|
2021-10-19 19:40:55 +00:00
|
|
|
"egui_web/screen_reader",
|
|
|
|
]
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2022-02-22 18:32:30 +00:00
|
|
|
egui = { version = "0.17.0", path = "../egui", default-features = false }
|
|
|
|
epi = { version = "0.17.0", path = "../epi" }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-03-11 18:14:27 +00:00
|
|
|
egui_glow = { version = "0.17.0", path = "../egui_glow", default-features = false, features = [
|
2022-03-10 13:25:33 +00:00
|
|
|
"clipboard",
|
|
|
|
"epi",
|
|
|
|
"links",
|
|
|
|
"winit",
|
|
|
|
] }
|
2022-03-11 18:14:27 +00:00
|
|
|
egui-winit = { version = "0.17.0", path = "../egui-winit", default-features = false }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
# web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-03-11 18:15:06 +00:00
|
|
|
egui_web = { version = "0.17.0", path = "../egui_web", default-features = false }
|
2022-02-05 10:11:15 +00:00
|
|
|
|
2022-02-09 07:12:12 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
[dev-dependencies]
|
2022-02-21 14:26:26 +00:00
|
|
|
# For examples:
|
|
|
|
egui_extras = { path = "../egui_extras", features = ["image", "svg"] }
|
2022-02-05 10:11:15 +00:00
|
|
|
ehttp = "0.2"
|
2022-03-14 12:25:11 +00:00
|
|
|
glow = "0.11"
|
2022-03-10 13:25:33 +00:00
|
|
|
image = { version = "0.24", default-features = false, features = [
|
|
|
|
"jpeg",
|
|
|
|
"png",
|
|
|
|
] }
|
2022-02-05 10:11:15 +00:00
|
|
|
poll-promise = "0.1"
|
2022-02-21 14:40:25 +00:00
|
|
|
rfd = "0.8"
|
2022-04-10 07:51:52 +00:00
|
|
|
three-d = { version = "0.11", default-features = false }
|