lapce/lapce-app/Cargo.toml

86 lines
2.3 KiB
TOML

[package]
name = "lapce-app"
version.workspace = true
authors.workspace = true
edition.workspace = true
[dependencies]
alacritty_terminal.workspace = true
anyhow.workspace = true
chrono.workspace = true
clap.workspace = true
crossbeam-channel.workspace = true
directories.workspace = true
flate2.workspace = true
im.workspace = true
include_dir.workspace = true
indexmap.workspace = true
interprocess.workspace = true
itertools.workspace = true
lapce-core.workspace = true
lapce-proxy.workspace = true
lapce-rpc.workspace = true
lapce-xi-rope.workspace = true
lsp-types.workspace = true
notify.workspace = true
once_cell.workspace = true
parking_lot.workspace = true
rayon.workspace = true
reqwest.workspace = true
smallvec.workspace = true
strum.workspace = true
strum_macros.workspace = true
serde.workspace = true
serde_json.workspace = true
regex.workspace = true
tar.workspace = true
thiserror.workspace = true
toml.workspace = true
toml_edit.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
tracing-appender.workspace = true
Inflector = "0.11.4"
open = "3.0.2"
unicode-width = "0.1.10"
fuzzy-matcher = "0.3.7"
sled = "0.34.7"
bytemuck = "1.8.0"
tokio = { version = "1.21", features = ["full"] }
futures = "0.3.26"
floem = { git = "https://github.com/lapce/floem", rev = "159b8654315467fc924843b73809f8a766a6c07f" }
# floem = { path = "../../workspaces/floem" }
config = { version = "0.13.2", default-features = false, features = ["toml"] }
structdesc = { git = "https://github.com/lapce/structdesc" }
[target.'cfg(target_os="macos")'.dependencies]
fs_extra = "1.2.0"
dmg = "0.1.1"
[target.'cfg(target_os="windows")'.dependencies]
zip = { version = "0.6.3", default-features = false, features = ["deflate"] }
[features]
default = ["all-languages", "updater"]
portable = ["lapce-core/portable"]
updater = []
# To build lapce with only some of the supported languages, for example:
#
# cargo build --no-default-features -p lapce-ui \
# --features lang-rust,lang-toml,lang-markdown,lang-json
#
all-languages = [
"lapce-core/lang-bash",
"lapce-core/lang-c",
"lapce-core/lang-cpp",
"lapce-core/lang-javascript",
"lapce-core/lang-json",
"lapce-core/lang-markdown",
"lapce-core/lang-rust",
"lapce-core/lang-toml",
"lapce-core/lang-yaml",
]