# Add compatability with https://github.com/kvark/mint
## [`mint`](https://docs.rs/mint) enables interopability with other math libraries such as [`glam`](https://docs.rs/glam) and [`nalgebra`](https://docs.rs/nalgebra).
mint=["epaint/mint"]
# enable persistence of memory (window positions etc).
## Enable persistence of memory (window positions etc).
persistence=["serde","epaint/serde","ron"]
# implement serde on most types.
## Allow serialization using [`serde`](https://docs.rs/serde).
serde=["dep:serde","epaint/serde"]
# Ease of use hex to Color32 macro
color-hex=["epaint/color-hex"]
[dependencies]
# Needed when generating the docs, but unfortunately also needed by `cargo check`
//! This library can be used to test 3rd party egui integrations (see for instance <https://github.com/not-fl3/egui-miniquad/blob/master/examples/demo.rs>).
//!
//! The demo is also used in benchmarks and tests.
//! This is a crate that adds some features on top top of [`egui`](https://github.com/emilk/egui). This crate are for experimental features, and features that require big dependencies that does not belong in `egui`.
//! This is a crate that adds some features on top top of [`egui`](https://github.com/emilk/egui).
//!
//! This crate are for experimental features, and features that require big dependencies that does not belong in `egui`.
## [`mint`](https://docs.rs/mint) enables interopability with other math libraries such as [`glam`](https://docs.rs/glam) and [`nalgebra`](https://docs.rs/nalgebra).
mint={version="0.5.6",optional=true}
## Allow serialization using [`serde`](https://docs.rs/serde).
## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast [`Vertex`] to `&[u8]`.
bytemuck=["dep:bytemuck","emath/bytemuck"]
# 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 epaint and egui uses a lot).
## 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 [`mutex::RwLock`] (which epaint and egui uses a lot).
deadlock_detection=["dep:backtrace"]
# If set, epaint will use `include_bytes!` to bundle some fonts.
# If you plan on specifying your own fonts you may disable this feature.
## If set, epaint will use `include_bytes!` to bundle some fonts.
## If you plan on specifying your own fonts you may disable this feature.
default_fonts=[]
# Enable additional checks if debug assertions are enabled (debug builds).
## Enable additional checks if debug assertions are enabled (debug builds).
extra_debug_asserts=["emath/extra_debug_asserts"]
# Always enable additional checks.
## Always enable additional checks.
extra_asserts=["emath/extra_asserts"]
# Add compatability with https://github.com/kvark/mint
## [`mint`](https://docs.rs/mint) enables interopability with other math libraries such as [`glam`](https://docs.rs/glam) and [`nalgebra`](https://docs.rs/nalgebra).
mint=["emath/mint"]
# implement serde on most types.
## Allow serialization using [`serde`](https://docs.rs/serde).
serde=["dep:serde","ahash/serde","emath/serde"]
[dependencies]
# Needed when generating the docs, but unfortunately also needed by `cargo check`