2021-01-10 10:37:47 +00:00
[ package ]
name = "emath"
2023-02-08 19:11:21 +00:00
version = "0.21.0"
2021-01-10 10:37:47 +00:00
authors = [ "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>" ]
description = "Minimal 2D math library for GUI work"
2021-12-25 18:32:25 +00:00
edition = "2021"
2022-11-16 18:08:03 +00:00
rust-version = "1.65"
2022-08-20 13:18:02 +00:00
homepage = "https://github.com/emilk/egui/tree/master/crates/emath"
2021-01-10 10:37:47 +00:00
license = "MIT OR Apache-2.0"
readme = "README.md"
2022-08-20 13:18:02 +00:00
repository = "https://github.com/emilk/egui/tree/master/crates/emath"
2021-01-17 14:16:00 +00:00
categories = [ "mathematics" , "gui" ]
keywords = [ "math" , "gui" ]
2022-03-10 13:25:33 +00:00
include = [ "../LICENSE-APACHE" , "../LICENSE-MIT" , "**/*.rs" , "Cargo.toml" ]
2021-01-10 10:37:47 +00:00
2021-09-03 19:04:43 +00:00
[ package . metadata . docs . rs ]
all-features = true
2021-01-10 10:37:47 +00:00
[ lib ]
[ features ]
default = [ ]
2021-05-17 20:34:29 +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 = [ ]
2022-06-09 13:27:22 +00:00
## Always enable additional checks.
2021-05-17 20:34:29 +00:00
extra_asserts = [ ]
2022-02-05 10:11:15 +00:00
[ dependencies ]
2022-06-09 13:27:22 +00:00
#! ### Optional dependencies
## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast `emath` types to `&[u8]`.
2022-03-10 13:25:33 +00:00
bytemuck = { version = "1.7.2" , optional = true , features = [ "derive" ] }
2022-06-09 13:27:22 +00:00
2022-06-09 15:41:37 +00:00
## Enable this when generating docs.
document-features = { version = "0.2" , optional = true }
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).
2022-02-05 10:11:15 +00:00
mint = { version = "0.5.6" , optional = true }
2022-06-09 13:27:22 +00:00
## Allow serialization using [`serde`](https://docs.rs/serde).
2022-03-10 13:25:33 +00:00
serde = { version = "1" , optional = true , features = [ "derive" ] }