Explorar el Código

Add ecolor, egui, and emath crates

Clemsim hace 1 año
padre
commit
f3a30a3e20
Se han modificado 2 ficheros con 45 adiciones y 0 borrados
  1. 44 0
      Cargo.lock
  2. 1 0
      Cargo.toml

+ 44 - 0
Cargo.lock

@@ -499,6 +499,29 @@ version = "1.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"
 
+[[package]]
+name = "ecolor"
+version = "0.27.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20930a432bbd57a6d55e07976089708d4893f3d556cf42a0d79e9e321fa73b10"
+
+[[package]]
+name = "egui"
+version = "0.27.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "584c5d1bf9a67b25778a3323af222dbe1a1feb532190e103901187f92c7fe29a"
+dependencies = [
+ "ahash",
+ "epaint",
+ "nohash-hasher",
+]
+
+[[package]]
+name = "emath"
+version = "0.27.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4c3a552cfca14630702449d35f41c84a0d15963273771c6059175a803620f3f"
+
 [[package]]
 name = "env_filter"
 version = "0.1.0"
@@ -522,6 +545,20 @@ dependencies = [
  "log",
 ]
 
+[[package]]
+name = "epaint"
+version = "0.27.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b381f8b149657a4acf837095351839f32cd5c4aec1817fc4df84e18d76334176"
+dependencies = [
+ "ab_glyph",
+ "ahash",
+ "ecolor",
+ "emath",
+ "nohash-hasher",
+ "parking_lot",
+]
+
 [[package]]
 name = "equivalent"
 version = "1.0.1"
@@ -975,6 +1012,12 @@ dependencies = [
  "jni-sys",
 ]
 
+[[package]]
+name = "nohash-hasher"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
+
 [[package]]
 name = "num-traits"
 version = "0.2.19"
@@ -1896,6 +1939,7 @@ dependencies = [
  "chrono",
  "console_error_panic_hook",
  "console_log",
+ "egui",
  "env_logger",
  "glam",
  "log",

+ 1 - 0
Cargo.toml

@@ -7,6 +7,7 @@ edition = "2021"
 bytemuck = { version = "1.16.0", features = ["derive"] }
 cfg-if = "1.0.0"
 chrono = "0.4.38"
+egui = "0.27.2"
 env_logger = "0.11.3"
 glam = "0.27.0"
 log = "0.4"