Echo Writes Code

Cargo.toml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "crucible"
version = "0.1.0"
edition = "2024"

[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.3"
objc2-core-foundation = "0.3.2"
objc2-foundation = "0.3.2"
objc2-app-kit = "0.3.2"
objc2-metal = "0.3.2"
objc2-metal-kit = "0.3.2"
objc2-quartz-core = "0.3.2"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62.2", features = [
  "Win32_Graphics_Gdi",
  "Win32_System_SystemServices",
  "Win32_UI_WindowsAndMessaging",
] }

[target.'cfg(all(target_os = "unknown", target_family = "wasm"))'.dependencies]
js-sys = "0.3.81"
wasm-bindgen = "0.2.105"
web-sys = { version = "0.3.81", features = [
  "Document",
  "Element",
  "HtmlElement",
  "HtmlCanvasElement",
  "WebGlBuffer",
  "WebGlVertexArrayObject",
  "WebGl2RenderingContext",
  "WebGlProgram",
  "WebGlShader",
  "Window",
  "console",
] }