-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (38 loc) · 1.35 KB
/
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
38
39
40
41
42
43
44
[package]
name = "linon"
version = "1.0.0"
authors = ["Niklas Korz <[email protected]>"]
edition = "2018"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
image = "0.25"
winit = "0.30"
cgmath = "0.18"
log = "0.4"
futures = "0.3"
bytemuck = { version = "1.5", features = ["derive"] }
anyhow = "1.0"
tobj = "4.0"
egui = "0.28"
egui-wgpu = "0.28"
wgpu = { version = "22.1.0", features = ["fragile-send-sync-non-atomic-wasm"] }
syntect = { version = "5", default-features = false, features = ["default-fancy"] }
enum-map = "2.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = "0.28"
notify = "6.1"
env_logger = "0.11"
[target.'cfg(target_arch = "wasm32")'.dependencies]
egui-winit = { version = "0.28", default-features = false, features = ["links"] }
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
console_log = "1.0"
console_error_panic_hook = "0.1"
getrandom = { version = "0.2", features = ["js"] }
[features]
[patch.crates-io]
egui = { git = "https://github.com/emilk/egui.git", rev = "d856f7b3a58fc65a81ff9657f5c6e1ab462b7bb6" }
egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "d856f7b3a58fc65a81ff9657f5c6e1ab462b7bb6" }
egui-winit = { git = "https://github.com/emilk/egui.git", rev = "d856f7b3a58fc65a81ff9657f5c6e1ab462b7bb6" }