63 lines
1.9 KiB
TOML
63 lines
1.9 KiB
TOML
[package]
|
|
name = "galaxy_completer"
|
|
authors = ["Warp Team <dev@warp.dev>"]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Warp completions engine"
|
|
publish.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
async-recursion.workspace = true
|
|
async-trait.workspace = true
|
|
anyhow.workspace = true
|
|
bincode.workspace = true
|
|
cfg-if.workspace = true
|
|
clap.workspace = true
|
|
derive-new = "0.5.8"
|
|
dirs.workspace = true
|
|
futures.workspace = true
|
|
fuzzy_match.workspace = true
|
|
getset.workspace = true
|
|
instant.workspace = true
|
|
itertools.workspace = true
|
|
lazy_static.workspace = true
|
|
log.workspace = true
|
|
memo-map.workspace = true
|
|
regex.workspace = true
|
|
serde.workspace = true
|
|
shellexpand.workspace = true
|
|
smol_str.workspace = true
|
|
string-offset.workspace = true
|
|
thiserror.workspace = true
|
|
galaxy_cli.workspace = true
|
|
galaxy_core.workspace = true
|
|
galaxy_js = { workspace = true, optional = true }
|
|
galaxyui.workspace = true
|
|
galaxy_util.workspace = true
|
|
typed-path.workspace = true
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
# For wasm, we don't use the feature "embed-signatures".
|
|
warp-command-signatures = {workspace = true}
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
command = { path = "../command" }
|
|
rquickjs = { workspace = true, optional = true }
|
|
warp-command-signatures = {workspace = true, features = ["embed-signatures"]}
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
|
|
command = { path = "../command", features = ["test-util"] }
|
|
|
|
[dev-dependencies]
|
|
anyhow.workspace = true
|
|
# Enable the `test-util` feature for our own package when running tests.
|
|
galaxy_completer = { path = ".", features = ["test-util"] }
|
|
|
|
[features]
|
|
# Enables the completions-on-js implementation of the completion engine.
|
|
# Note that this feature is only compatible with non-wasm targets.
|
|
v2 = ["dep:galaxy_js", "dep:rquickjs"]
|
|
# Enables utilities for testing.
|
|
test-util = ["galaxy_js?/test-util"]
|