-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (38 loc) · 1.5 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (38 loc) · 1.5 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
[workspace]
resolver = "2"
members = ["crates/gpui-net-shell"]
# The gpui-kit checkout is its own workspace; keep Cargo from treating its
# crates as members here, which would make `workspace = true` resolve against
# this manifest instead of gpui-kit's.
exclude = ["external/gpui-kit"]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
publish = false
[workspace.dependencies]
gpui = { package = "gpui-pre", version = "0.3.5" }
gpui_platform = { package = "gpui-pre-platform", version = "0.3.5" }
gpui-base = { path = "external/gpui-kit/crates/base", version = "0.6.4" }
gpui-component = { path = "external/gpui-kit/crates/component", version = "0.6.4" }
gpui-kit-assets = { path = "external/gpui-kit/crates/assets", version = "0.6.4" }
# Frame-sensitive GPUI, layout, text and component code stays optimized in Debug
# builds so a debug host does not stall on an unoptimized full-frame draw.
[profile.dev]
codegen-units = 16
debug = "limited"
# The shipped host is a large cdylib wrapping all of GPUI and the component
# catalog. LTO plus one codegen unit lets the linker drop the paths the C ABI
# never reaches (now including the style reflection machinery, which is gone),
# and `strip` keeps the installed DLL to code and data.
[profile.release]
lto = "fat"
codegen-units = 1
strip = "symbols"
debug = false
[profile.dev.package]
gpui-pre = { opt-level = 3 }
gpui-pre-macros = { opt-level = 3 }
gpui-pre-platform = { opt-level = 3 }
gpui-base = { opt-level = 3 }
gpui-component = { opt-level = 3 }