-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (62 loc) · 1.88 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "vegravis"
version = "0.4.2"
edition = "2021"
homepage = "https://w-mai.github.io/vegravis"
repository = "https://github.com/W-Mai/vegravis"
readme = "README.md"
license-file = "LICENSE"
description = "Vegravis is a vector graphics visualizer.It can visualize vector graphics on a canvas, and can also visualize vector graphics in other formats through conversion."
authors = ["W-Mai", "Benign X"]
build = "build.rs"
[package.metadata.wix]
upgrade-guid = "A450F613-B486-4556-8FD8-B60406F07E43"
path-guid = "7FE22DC6-25EC-4DB4-B5BB-1BBEEFF659F1"
license = false
eula = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ecolor = "0.29.1"
egui_plot = "0.29.0"
egui_extras = "0.29.1"
egui_code_editor = "0.2.10"
log = "0.4.19"
levenshtein = "1.0.5"
dyn-clone = "1.0.16"
web-sys = { version = "0.3.72", features = ["History"] }
bincode = "2.0.0-rc.3"
base64 = "0.22.1"
getset = "0.1.3"
# native:
[target.'cfg(all(not(target_arch = "wasm32"), platform = "macos"))'.dependencies]
eframe = { version = "0.29.1", default-features = false, features = [
"__screenshot",
"default_fonts",
"wgpu",
] }
env_logger = "0.11.5"
[target.'cfg(all(not(target_arch = "wasm32"), not(platform = "macos")))'.dependencies]
eframe = { version = "0.29.1", default-features = false, features = [
"__screenshot",
"default_fonts",
"glow",
] }
env_logger = "0.11.5"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
eframe = { version = "0.29.1", default-features = false, features = [
"__screenshot",
"default_fonts",
"glow",
"persistence"
] }
wasm-bindgen-futures = "0.4"
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"