lapce/Cargo.toml

42 lines
1.0 KiB
TOML
Raw Normal View History

2019-09-03 17:30:08 +00:00
[package]
2020-09-25 09:59:37 +00:00
name = "lapce"
2022-09-02 21:18:07 +00:00
version = "0.2.0"
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-07-02 21:06:54 +00:00
rust-version = "1.62"
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"]
[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"