2019-09-03 17:30:08 +00:00
|
|
|
[package]
|
2020-09-25 09:59:37 +00:00
|
|
|
name = "lapce"
|
2023-12-04 21:13:24 +00:00
|
|
|
version = "0.3.1"
|
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]
|
2023-01-24 19:29:21 +00:00
|
|
|
lapce-app = { path = "./lapce-app" }
|
2022-03-08 12:34:52 +00:00
|
|
|
lapce-proxy = { path = "./lapce-proxy" }
|
2021-10-06 16:43:04 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "lapce"
|
2023-01-24 19:29:21 +00:00
|
|
|
path = "lapce-app/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]
|
2023-04-26 20:46:51 +00:00
|
|
|
members = [
|
|
|
|
"lapce-app",
|
|
|
|
"lapce-proxy",
|
|
|
|
"lapce-rpc",
|
|
|
|
"lapce-core",
|
|
|
|
]
|
2022-04-20 17:23:27 +00:00
|
|
|
|
2023-01-13 19:25:55 +00:00
|
|
|
[workspace.package]
|
2023-12-04 21:13:24 +00:00
|
|
|
version = "0.3.1"
|
2023-01-13 19:25:55 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.64"
|
|
|
|
homepage = "https://lapce.dev"
|
|
|
|
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
anyhow = "1.0"
|
|
|
|
chrono = "0.4"
|
2023-10-08 20:43:17 +00:00
|
|
|
clap = { version = "3.2.25", features = ["derive"] }
|
2023-10-23 17:21:39 +00:00
|
|
|
crossbeam-channel = "0.5.8"
|
2023-01-13 19:25:55 +00:00
|
|
|
directories = "4.0.1"
|
|
|
|
flate2 = "1.0"
|
2023-10-26 04:12:05 +00:00
|
|
|
hashbrown = { version = "0.14.0", features = ["serde"] }
|
2023-01-13 19:25:55 +00:00
|
|
|
im = { version = "15.0.0", features = ["serde"] }
|
|
|
|
include_dir = "0.6.2"
|
2023-10-26 04:10:43 +00:00
|
|
|
indexmap = { version = "2.0", features = ["serde"] }
|
2023-10-26 10:08:25 +00:00
|
|
|
interprocess = "1.2.1"
|
2023-01-13 19:25:55 +00:00
|
|
|
itertools = "0.10.1"
|
|
|
|
notify = { version = "5.0.0", features = ["serde"] }
|
2023-02-20 20:00:18 +00:00
|
|
|
once_cell = "1.17"
|
2023-01-13 19:25:55 +00:00
|
|
|
parking_lot = { version = "0.11.0", features = ["deadlock_detection"] }
|
2023-10-27 22:41:51 +00:00
|
|
|
rayon = "1.8.0"
|
2023-10-28 00:19:03 +00:00
|
|
|
regex = "1.10.2"
|
2023-01-13 19:25:55 +00:00
|
|
|
reqwest = { version = "0.11", features = ["blocking", "json", "socks"] }
|
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2023-10-28 00:19:52 +00:00
|
|
|
smallvec = "1.11.1"
|
2023-01-13 19:25:55 +00:00
|
|
|
strum = "0.21.0" # follow same version as system-deps in lockfile
|
|
|
|
strum_macros = "0.21.1" # ditto
|
|
|
|
tar = "0.4"
|
|
|
|
thiserror = "1.0"
|
2023-08-16 21:17:33 +00:00
|
|
|
toml = { version = "*" }
|
2023-11-02 22:23:04 +00:00
|
|
|
toml_edit = { version = "0.20.2", features = ["serde"] }
|
2023-09-26 20:14:05 +00:00
|
|
|
url = { version = "2.3.1" }
|
2023-01-13 19:25:55 +00:00
|
|
|
|
2023-12-24 06:28:29 +00:00
|
|
|
lsp-types = { version = "0.94.1", features = ["proposed"] } # not following semver, so should be locked to patch version updates only
|
2023-10-23 21:52:33 +00:00
|
|
|
psp-types = { git = "https://github.com/lapce/psp-types", rev = "f7fea28f59e7b2d6faa1034a21679ad49b3524ad" }
|
2023-01-13 19:25:55 +00:00
|
|
|
|
2023-05-16 19:59:12 +00:00
|
|
|
lapce-xi-rope = { version = "0.3.2", features = ["serde"] }
|
2023-01-13 19:25:55 +00:00
|
|
|
|
|
|
|
lapce-core = { path = "./lapce-core" }
|
|
|
|
lapce-rpc = { path = "./lapce-rpc" }
|
|
|
|
lapce-proxy = { path = "./lapce-proxy" }
|
|
|
|
|
2024-02-12 21:23:15 +00:00
|
|
|
floem-editor-core = { git = "https://github.com/lapce/floem", rev = "c45e8e8ab6ab85e12bd98527e34db4a9397c3764", features = ["serde"] }
|
|
|
|
# floem-editor-core = { path = "../workspaces/floem/editor-core/", features = ["serde"] }
|
|
|
|
|
2023-12-11 19:08:05 +00:00
|
|
|
[patch.crates-io]
|
|
|
|
# Temporarily patch lsp-types with a version that supports inline-completion
|
|
|
|
lsp-types = { git = "https://github.com/lapce/lsp-types", rev = "3031a76c4452f46ed265eb0154d6bb1d10ddb9f6" }
|
|
|
|
|
2023-06-19 14:51:30 +00:00
|
|
|
[workspace.dependencies.tracing]
|
|
|
|
git = "https://github.com/tokio-rs/tracing"
|
|
|
|
rev = "c14525e1610db88986f849d46bd3e9795878b012"
|
|
|
|
package = "tracing"
|
|
|
|
|
|
|
|
[workspace.dependencies.tracing-subscriber]
|
|
|
|
git = "https://github.com/tokio-rs/tracing"
|
|
|
|
rev = "c14525e1610db88986f849d46bd3e9795878b012"
|
|
|
|
package = "tracing-subscriber"
|
|
|
|
|
|
|
|
[workspace.dependencies.tracing-appender]
|
|
|
|
git = "https://github.com/tokio-rs/tracing"
|
|
|
|
rev = "c14525e1610db88986f849d46bd3e9795878b012"
|
|
|
|
package = "tracing-appender"
|
|
|
|
|
|
|
|
[workspace.dependencies.alacritty_terminal]
|
2023-10-20 18:47:28 +00:00
|
|
|
git = "https://github.com/alacritty/alacritty"
|
|
|
|
rev = "6071a7bf35cfd99be8ba70f479f188b7370cda6f"
|
2023-01-13 19:25:55 +00:00
|
|
|
|
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"
|