forked from lapce/lapce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (34 loc) · 1.04 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
[package]
name = "lapce"
version = "0.2.5"
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
edition = "2021"
rust-version = "1.64"
default-run = "lapce"
[dependencies]
lapce-ui = { path = "./lapce-ui" }
lapce-proxy = { path = "./lapce-proxy" }
[[bin]]
name = "lapce"
path = "lapce-ui/src/bin/lapce.rs"
[[bin]]
name = "lapce-proxy"
path = "lapce-proxy/src/bin/lapce-proxy.rs"
[workspace]
members = ["lapce-ui", "lapce-proxy", "lapce-rpc", "lapce-data", "lapce-core"]
[profile.release-lto]
inherits = "release"
lto = true
codegen-units = 1
# A profile which compiles all (non-workspace) dependencies in release mode
# but Lapce code in dev mode. This gives a good debugging experience for your
# code and fast performance of other people's code. After the initial
# build subsequent ones are as fast as dev mode builds.
# See https://doc.rust-lang.org/cargo/reference/profiles.html
# To use this profile:
# cargo build --profile fastdev
# cargo run --profile fastdev --bin lapce
[profile.fastdev.package."*"]
opt-level = 3
[profile.fastdev]
inherits = "dev"