-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (84 loc) · 2.93 KB
/
Cargo.toml
File metadata and controls
108 lines (84 loc) · 2.93 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[workspace]
resolver = "3"
members = [
"crates/*",
"examples/*",
]
[workspace.package]
authors = ["Fangdun Tsai <fundon@pindash.io>"]
categories = ["graphics", "gui", "workflow"]
description = "A universal UI workflow library"
edition = "2024"
homepage = "https://flowkit.viz.rs"
keywords = ["bevy", "viz", "flowkit"]
license = "MIT OR Apache-2.0"
publish = false
repository = "https://github.com/viz-rs/flowkit"
version = "0.1.0"
[workspace.dependencies]
flowkit = { path = "crates/flowkit" }
bevy_flowkit = { path = "crates/bevy_flowkit" }
egui_flowkit = { path = "crates/egui_flowkit" }
gpui_flowkit = { path = "crates/gpui_flowkit" }
makepad_flowkit = { path = "crates/makepad_flowkit" }
makepad_tessellation = { path = "crates/makepad_tessellation" }
bevy_moon = { git = "https://github.com/viz-rs/viz.git" }
# bevy
bevy = { version = "0.18.0", default-features = false, features = ["pan_camera", "2d"] }
bevy_math = "0.18.0"
# other
smallvec = { version = "1.0", features = ["union", "const_new"] }
taffy = "0.9"
glam = "0.30"
serde = { version = "1", features = ["derive"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
bevy_pancam = "0.20.0"
bevy_prototype_lyon = "0.16.0"
petgraph = { version = "0.8.3", default-features = false }
lyon_path = "1.0"
lyon_tessellation = "1.0"
# egui
egui = "0.33"
eframe = "0.33"
env_logger = { version = "0.11", features = ["auto-color", "humantime"] }
# gpui
gpui = "0.2"
# https://github.com/zed-industries/zed/issues/47168
core-text = "=21.0"
# makepad
makepad-widgets = { git = "https://github.com/makepad/makepad.git", branch = "dev", features = ["serde"] }
[workspace.lints]
[profile]
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
debug = false
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
[profile.dev.build-override]
opt-level = 3
# Enable more optimization in the release profile at the cost of compile time.
[profile.release]
# debug = true # Good for profilers
opt-level = "z" # Optimize for size (lean binary for distribution)
lto = true # Link-time optimization
codegen-units = 1 # Single codegen unit for better optimization
panic = "abort" # Smaller binary, no unwinding overhead
strip = true # Remove debug symbols
# Optimize for size in the web-release profile to reduce load times and bandwidth usage on web.
[profile.web-release]
inherits = "release" # Default to release profile
opt-level = "z" # Optimize for size (lean binary for distribution)
lto = true # Link-time optimization
codegen-units = 1 # Single codegen unit for better optimization
panic = "abort" # Smaller binary, no unwinding overhead
strip = true # Remove debug symbols
# Optimize for build time in CI.
[profile.ci]
inherits = "dev"
opt-level = 0
debug = "line-tables-only"
codegen-units = 4
[profile.ci.package."*"]
opt-level = 0