mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
This fixes an issue that we noticed in particular with Mercury edit predictions. * [x] fix storage to not go stale * [x] exclude excerpts that intersect the cursor excerpt * [x] see if string representation of excerpts can be cached, to avoid rebuilding it on every prediction Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben@zed.dev>
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "edit_prediction_context"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/edit_prediction_context.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
clock.workspace = true
|
|
cloud_llm_client.workspace = true
|
|
collections.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
language.workspace = true
|
|
log.workspace = true
|
|
lsp.workspace = true
|
|
parking_lot.workspace = true
|
|
project.workspace = true
|
|
serde.workspace = true
|
|
smallvec.workspace = true
|
|
text.workspace = true
|
|
tree-sitter.workspace = true
|
|
util.workspace = true
|
|
zeta_prompt.workspace = true
|
|
|
|
[dev-dependencies]
|
|
env_logger.workspace = true
|
|
indoc.workspace = true
|
|
futures.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
language = { workspace = true, features = ["test-support"] }
|
|
lsp = { workspace = true, features = ["test-support"] }
|
|
pretty_assertions.workspace = true
|
|
project = {workspace= true, features = ["test-support"]}
|
|
serde_json.workspace = true
|
|
settings = {workspace= true, features = ["test-support"]}
|
|
text = { workspace = true, features = ["test-support"] }
|
|
util = { workspace = true, features = ["test-support"] }
|
|
zlog.workspace = true
|