2019-09-03 17:30:08 +00:00
|
|
|
[package]
|
2020-09-25 09:59:37 +00:00
|
|
|
name = "lapce"
|
2022-12-14 19:21:35 +00:00
|
|
|
version = "0.2.5"
|
2019-09-03 17:30:08 +00:00
|
|
|
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
|
2021-10-26 10:09:30 +00:00
|
|
|
edition = "2021"
|
2023-01-21 20:47:41 +00:00
|
|
|
rust-version = "1.65"
|
2022-09-16 18:41:53 +00:00
|
|
|
default-run = "lapce"
|
2019-09-03 17:30:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-08 12:45:00 +00:00
|
|
|
lapce-ui = { path = "./lapce-ui" }
|
2022-03-08 12:34:52 +00:00
|
|
|
lapce-proxy = { path = "./lapce-proxy" }
|
2021-10-06 16:43:04 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "lapce"
|
2022-03-08 12:45:00 +00:00
|
|
|
path = "lapce-ui/src/bin/lapce.rs"
|
2021-10-06 16:43:04 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "lapce-proxy"
|
2022-03-08 12:34:52 +00:00
|
|
|
path = "lapce-proxy/src/bin/lapce-proxy.rs"
|
2020-10-15 17:03:20 +00:00
|
|
|
|
|
|
|
[workspace]
|
2022-03-08 15:08:35 +00:00
|
|
|
members = ["lapce-ui", "lapce-proxy", "lapce-rpc", "lapce-data", "lapce-core"]
|
2022-04-20 17:23:27 +00:00
|
|
|
|
2023-01-13 19:25:55 +00:00
|
|
|
[workspace.package]
|
|
|
|
version = "0.2.5"
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.64"
|
|
|
|
homepage = "https://lapce.dev"
|
|
|
|
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
|
|
|
|
|
|
|
|
[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"
|
2023-01-14 07:59:25 +00:00
|
|
|
indexmap = { version = "1.9", features = ["serde"] }
|
2023-01-13 19:25:55 +00:00
|
|
|
interprocess = "1.1.1"
|
|
|
|
itertools = "0.10.1"
|
|
|
|
log = "0.4"
|
|
|
|
notify = { version = "5.0.0", features = ["serde"] }
|
|
|
|
once_cell = "1.15"
|
|
|
|
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"]
|
|
|
|
|
|
|
|
|
2022-04-20 17:23:27 +00:00
|
|
|
[profile.release-lto]
|
|
|
|
inherits = "release"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
2022-04-25 07:53:33 +00:00
|
|
|
|
2022-04-20 20:51:53 +00:00
|
|
|
# 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
|
2022-04-20 14:39:33 +00:00
|
|
|
# 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"
|