forked from lapce/lapce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (81 loc) · 2.59 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
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
[package]
name = "lapce"
version = "0.2.6"
authors = ["Dongdong Zhou <[email protected]>"]
edition = "2021"
rust-version = "1.65"
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"]
[workspace.package]
version = "0.2.6"
edition = "2021"
rust-version = "1.64"
homepage = "https://lapce.dev"
authors = ["Dongdong Zhou <[email protected]>"]
[workspace.dependencies]
alacritty_terminal = "0.17.0"
anyhow = "1.0"
chrono = "0.4"
clap = { version = "3.2.17", features = ["derive"] }
crossbeam-channel = "0.5.0"
directories = "4.0.1"
flate2 = "1.0"
hashbrown = { version = "0.12.3", features = ["serde"] }
im = { version = "15.0.0", features = ["serde"] }
include_dir = "0.6.2"
indexmap = { version = "1.9", features = ["serde"] }
interprocess = "1.1.1"
itertools = "0.10.1"
log = "0.4"
notify = { version = "5.0.0", features = ["serde"] }
once_cell = "1.17"
parking_lot = { version = "0.11.0", features = ["deadlock_detection"] }
rayon = "1.5.1"
regex = "1.7.0"
reqwest = { version = "0.11", features = ["blocking", "json", "socks"] }
serde = "1.0"
serde_json = "1.0"
smallvec = "1.10.0"
strum = "0.21.0" # follow same version as system-deps in lockfile
strum_macros = "0.21.1" # ditto
tar = "0.4"
thiserror = "1.0"
toml_edit = { version = "0.14.4", features = ["easy"] }
lsp-types = { version = "0.93", features = ["proposed"] }
psp-types = { git = "https://github.com/lapce/psp-types" }
lapce-xi-rope = { version = "0.3.1", features = ["serde"] }
lapce-core = { path = "./lapce-core" }
lapce-rpc = { path = "./lapce-rpc" }
lapce-data = { path = "./lapce-data" }
lapce-proxy = { path = "./lapce-proxy" }
[workspace.dependencies.druid]
git = "https://github.com/lapce/druid"
branch = "shell_opengl"
# path = "../../druid/druid"
features = ["svg", "im", "serde"]
[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"