2018-12-30 20:08:29 +00:00
|
|
|
[package]
|
2020-05-30 08:22:35 +00:00
|
|
|
name = "egui"
|
2021-05-10 16:20:32 +00:00
|
|
|
version = "0.12.0"
|
2020-05-30 16:22:33 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
|
|
description = "Simple, portable immediate mode GUI library for Rust"
|
2018-12-30 20:08:29 +00:00
|
|
|
edition = "2018"
|
2020-08-10 17:38:46 +00:00
|
|
|
homepage = "https://github.com/emilk/egui"
|
2020-05-30 16:22:33 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "../README.md"
|
2020-08-10 17:38:46 +00:00
|
|
|
repository = "https://github.com/emilk/egui"
|
2021-01-17 14:16:00 +00:00
|
|
|
categories = ["gui", "game-development"]
|
2020-05-30 16:22:33 +00:00
|
|
|
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
|
2020-10-29 10:48:39 +00:00
|
|
|
include = [
|
2021-03-09 17:34:14 +00:00
|
|
|
"../LICENSE-APACHE",
|
|
|
|
"../LICENSE-MIT",
|
2020-10-29 10:48:39 +00:00
|
|
|
"**/*.rs",
|
|
|
|
"Cargo.toml",
|
|
|
|
]
|
2018-12-30 20:08:29 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
2021-05-10 16:20:32 +00:00
|
|
|
epaint = { version = "0.12.0", path = "../epaint", default-features = false }
|
2021-01-02 19:32:05 +00:00
|
|
|
serde = { version = "1", features = ["derive", "rc"], optional = true }
|
2021-04-12 19:53:32 +00:00
|
|
|
ron = { version = "0.6.4", optional = true }
|
2020-05-30 09:04:40 +00:00
|
|
|
|
2020-12-26 19:36:25 +00:00
|
|
|
[features]
|
2021-01-10 14:42:46 +00:00
|
|
|
default = ["default_fonts", "single_threaded"]
|
2020-12-26 20:20:55 +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.
|
2021-01-10 14:42:46 +00:00
|
|
|
default_fonts = ["epaint/default_fonts"]
|
2020-12-26 20:20:55 +00:00
|
|
|
|
2021-04-12 19:53:32 +00:00
|
|
|
persistence = ["serde", "epaint/persistence", "ron"]
|
2021-03-31 20:53:54 +00:00
|
|
|
|
2020-12-26 20:20:55 +00:00
|
|
|
# Only needed if you plan to use the same egui::Context from multiple threads.
|
2021-01-10 14:42:46 +00:00
|
|
|
single_threaded = ["epaint/single_threaded"]
|
|
|
|
multi_threaded = ["epaint/multi_threaded"]
|
2021-04-12 19:53:32 +00:00
|
|
|
|
2021-05-08 06:17:01 +00:00
|
|
|
mint = ["epaint/mint"]
|
|
|
|
|
2021-04-12 19:53:32 +00:00
|
|
|
[dev-dependencies]
|
2021-05-08 06:17:01 +00:00
|
|
|
serde_json = "1"
|