aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 31088f98a9d546818f570907214031bd4e6bbb49 (plain) (blame)
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
[workspace]
members = [
  "helix-core",
  "helix-view",
  "helix-term",
  "helix-tui",
  "helix-syntax",
  "helix-lsp",
  "helix-dap",
  "xtask",
]

default-members = [
  "helix-term"
]

# Build helix-syntax in release mode to make the code path faster in development.
# [profile.dev.package."helix-syntax"]
# opt-level = 3

[profile.dev]
split-debuginfo = "unpacked"

[profile.release]
lto = "thin"
# debug = true

[profile.opt]
inherits = "release"
lto = "fat"
codegen-units = 1
# strip = "debuginfo" # TODO: or strip = true
opt-level = 3