2018-12-30 20:08:29 +00:00
[ package ]
2020-05-30 08:22:35 +00:00
name = "egui"
2022-08-20 14:44:05 +00:00
version = "0.19.0"
2020-05-30 16:22:33 +00:00
authors = [ "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>" ]
2022-02-19 19:51:51 +00:00
description = "An easy-to-use immediate mode GUI that runs on both web and native"
2021-12-25 18:32:25 +00:00
edition = "2021"
2022-11-02 18:38:39 +00:00
rust-version = "1.62"
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"
2022-08-20 14:44:05 +00:00
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" ]
2022-03-10 13:25:33 +00:00
include = [ "../LICENSE-APACHE" , "../LICENSE-MIT" , "**/*.rs" , "Cargo.toml" ]
2018-12-30 20:08:29 +00:00
2021-09-03 19:04:43 +00:00
[ package . metadata . docs . rs ]
all-features = true
2018-12-30 20:08:29 +00:00
[ lib ]
2020-05-30 09:04:40 +00:00
2020-12-26 19:36:25 +00:00
[ features ]
2022-03-21 21:20:37 +00:00
default = [ "default_fonts" ]
2020-12-26 20:20:55 +00:00
2022-06-09 13:27:22 +00:00
## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast [`epaint::Vertex`], [`emath::Vec2`] etc to `&[u8]`.
bytemuck = [ "epaint/bytemuck" ]
## [`cint`](https://docs.rs/cint) enables interopability with other color libraries.
2021-09-29 06:45:13 +00:00
cint = [ "epaint/cint" ]
2022-06-09 13:27:22 +00:00
## Enable the [`hex_color`] macro.
color-hex = [ "epaint/color-hex" ]
2022-02-01 11:27:39 +00:00
2022-06-09 13:27:22 +00:00
## This will automatically detect deadlocks due to double-locking on the same thread.
## If your app freezes, you may want to enable this!
## Only affects [`epaint::mutex::RwLock`] (which egui uses a lot).
2022-05-21 12:08:19 +00:00
deadlock_detection = [ "epaint/deadlock_detection" ]
2022-06-09 13:27:22 +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
2022-06-09 13:27:22 +00:00
## Enable additional checks if debug assertions are enabled (debug builds).
2021-05-17 20:34:29 +00:00
extra_debug_asserts = [ "epaint/extra_debug_asserts" ]
2022-06-09 13:27:22 +00:00
## Always enable additional checks.
2021-05-17 20:34:29 +00:00
extra_asserts = [ "epaint/extra_asserts" ]
2022-06-09 13:27:22 +00:00
## [`mint`](https://docs.rs/mint) enables interopability with other math libraries such as [`glam`](https://docs.rs/glam) and [`nalgebra`](https://docs.rs/nalgebra).
2021-05-17 20:34:29 +00:00
mint = [ "epaint/mint" ]
2022-06-09 13:27:22 +00:00
## Enable persistence of memory (window positions etc).
2022-04-09 11:54:47 +00:00
persistence = [ "serde" , "epaint/serde" , "ron" ]
2021-05-20 18:09:52 +00:00
2022-06-09 13:27:22 +00:00
## Allow serialization using [`serde`](https://docs.rs/serde).
2022-04-09 11:54:47 +00:00
serde = [ "dep:serde" , "epaint/serde" ]
2021-03-31 20:53:54 +00:00
2022-02-05 10:11:15 +00:00
[ dependencies ]
2022-08-20 14:44:05 +00:00
epaint = { version = "0.19.0" , path = "../epaint" , default-features = false }
2022-02-05 10:11:15 +00:00
2022-11-07 08:23:45 +00:00
ahash = { version = "0.8.1" , default-features = false , features = [
"no-rng" , # we don't need DOS-protection, so we let users opt-in to it instead
"std" ,
] }
2022-02-05 10:11:15 +00:00
nohash-hasher = "0.2"
2022-06-09 13:27:22 +00:00
#! ### Optional dependencies
2022-06-09 15:41:37 +00:00
## Enable this when generating docs.
document-features = { version = "0.2" , optional = true }
2022-08-19 09:46:38 +00:00
ron = { version = "0.8" , optional = true }
2022-03-10 13:25:33 +00:00
serde = { version = "1" , optional = true , features = [ "derive" , "rc" ] }
2022-06-09 15:41:37 +00:00
# egui doesn't log much, but when it does, it uses [`tracing`](https://docs.rs/tracing).
2022-11-07 08:23:45 +00:00
tracing = { version = "0.1" , optional = true , default-features = false , features = [
"std" ,
] }