mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Rust 1.60.0 + refactor cargo features (#1467)
* Update to rust 1.60.0 * Rename the feature `convert_bytemuck` to `bytemuck` * Rename the feature `serialize` to `serde`. * Make use of the "weak dependency" cargo feature * Set rust-version = "1.60" for all crates * egui_glow: clipboard, links, persistence & winit are now opt-in features
This commit is contained in:
@@ -4,7 +4,7 @@ version = "0.17.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Minimal 2D math library for GUI work"
|
||||
edition = "2021"
|
||||
rust-version = "1.56"
|
||||
rust-version = "1.60"
|
||||
homepage = "https://github.com/emilk/egui/tree/master/emath"
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "README.md"
|
||||
@@ -29,6 +29,7 @@ extra_asserts = []
|
||||
|
||||
|
||||
[dependencies]
|
||||
# Optional:
|
||||
bytemuck = { version = "1.7.2", optional = true, features = ["derive"] }
|
||||
mint = { version = "0.5.6", optional = true }
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
|
||||
Reference in New Issue
Block a user