-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (41 loc) · 941 Bytes
/
Copy pathCargo.toml
File metadata and controls
52 lines (41 loc) · 941 Bytes
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
[workspace]
members = ["crates/*", "."]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
[workspace.dependencies]
anyhow = "1"
bytemuck = { version = "1", features = ["derive"] }
pollster = "1"
env_logger = "0.11"
log = "0.4"
winit = "0.30"
wgpu = "30"
image = "0.25"
[package]
name = "cornerlight"
version.workspace = true
edition.workspace = true
[dependencies]
#内部依赖
tis_renderer = { path = "crates/tis_renderer"}
tis_ui = { path = "crates/tis_ui"}
#外部依赖
anyhow.workspace = true
env_logger.workspace = true
pollster.workspace = true
winit.workspace = true
log.workspace = true
image.workspace = true
fastrand = "2"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = "z" # 优化体积
lto = true # 链接时优化
codegen-units = 1 # 更激进的优化
strip = true # 去除符号
panic = "abort" # 减小体积