2019-09-03 17:30:08 +00:00
|
|
|
[package]
|
2020-09-25 09:59:37 +00:00
|
|
|
name = "lapce"
|
2022-06-11 11:29:58 +00:00
|
|
|
version = "0.1.2"
|
2019-09-03 17:30:08 +00:00
|
|
|
authors = ["Dongdong Zhou <dzhou121@gmail.com>"]
|
2021-10-26 10:09:30 +00:00
|
|
|
edition = "2021"
|
2022-06-10 20:11:47 +00:00
|
|
|
rust-version = "1.60"
|
2021-09-03 15:23:09 +00:00
|
|
|
resolver = "2"
|
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
|
|
|
|
|
|
|
[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"
|