2020-12-29 14:57:13 +00:00
|
|
|
[package]
|
|
|
|
name = "eframe"
|
2021-08-24 14:47:10 +00:00
|
|
|
version = "0.14.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"
|
2020-12-29 14:57:13 +00:00
|
|
|
edition = "2018"
|
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"]
|
2021-03-09 17:34:14 +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]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-08-24 14:47:10 +00:00
|
|
|
egui = { version = "0.14.0", path = "../egui", default-features = false }
|
|
|
|
epi = { version = "0.14.0", path = "../epi" }
|
2020-12-29 14:57:13 +00:00
|
|
|
|
|
|
|
# For compiling natively:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-09-28 15:33:28 +00:00
|
|
|
egui_glium = { version = "0.14.0", path = "../egui_glium", default-features = false, features = ["clipboard", "links"] }
|
2020-12-29 14:57:13 +00:00
|
|
|
|
|
|
|
# For compiling to web:
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2021-08-24 14:47:10 +00:00
|
|
|
egui_web = { version = "0.14.0", path = "../egui_web", default-features = false }
|
2021-01-04 00:44:02 +00:00
|
|
|
|
2021-09-04 15:44:01 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
image = { version = "0.23", default-features = false, features = ["png"] }
|
2021-09-30 16:53:41 +00:00
|
|
|
rfd = "0.5.0"
|
2021-09-04 15:44:01 +00:00
|
|
|
|
2021-01-04 00:44:02 +00:00
|
|
|
[features]
|
2021-04-07 18:14:44 +00:00
|
|
|
default = ["default_fonts"]
|
|
|
|
|
|
|
|
# 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-01-04 00:44:02 +00:00
|
|
|
persistence = ["epi/persistence", "egui_glium/persistence", "egui_web/persistence"]
|
2021-09-28 15:33:28 +00:00
|
|
|
|
|
|
|
# experimental support for a screen reader
|
|
|
|
screen_reader = ["egui_glium/screen_reader", "egui_web/screen_reader"]
|
|
|
|
|
|
|
|
# for seconds_since_midnight (used in egui_demo_lib)
|
|
|
|
time = ["egui_glium/time"]
|