Move the whole workspace to Rust 1.97 (from 1.96) and bump ~120 dependencies to their latest major versions. The full 230-crate workspace compiles, joule_core's 182 tests pass, the release daemon builds, and LFM2 still loads + runs. API adaptations for the major bumps: - rand 0.10: rand_core renamed RngCore->Rng and moved the sugar (random_range, from_os_rng) onto RngExt / removed it — updated call sites + imports. - yawc 0.3: FrameView->Frame with accessor methods; client socket is TcpWebSocket. - sqlx 0.9 / heed 0.22 / axum 0.8: renamed/removed cargo features. - core-video 0.6: create_texture_from_image takes &CVImageBuffer; convert via TCVImageBuffer::as_image_buffer. - prost: Message no longer implies Debug — added the bound. - cargo_toml 1.0: lints is now Inheritable<LintGroups> (Inherited == workspace). - ed25519-dalek, core-text, core-graphics, cpal: pinned to the versions the git-forked deps (open-standands receipts, zed-font-kit, rodio) are built against — a split breaks shared SigningKey/CTFont/CGFont/Device types. Deliberate holds (their own migration, not a blind sweep): - livekit/libwebrtc/webrtc-sys/coreaudio-rs: the real-time A/V stack, pinned to Zed's livekit-rust-sdks fork; latest breaks livekit_client deeply. - wasmtime 36 + wit-bindgen 0.41: the extension component-model ABI, tied to the pinned zed:extension WIT worlds. - brush-parser 0.3: 0.4 reshapes the AST on the command-safety allow-gate path. - runtimelib/nbformat/jupyter-protocol 1.x: the REPL Jupyter stack moves majors together. Also: unlisted Zed's hosted-collab SERVER (crates/collab) from the workspace — a leaf binary nothing depends on, whose pinned sea-orm/sqlx chain blocked the upgrade; source stays on disk. All open-standards git deps repointed to the forge URL and bumped to c4b536cf (320fa1e + score_binary). Co-Authored-By: Claude Opus 4.8 <[email protected]>
93 lines
2.3 KiB
TOML
93 lines
2.3 KiB
TOML
[package]
|
|
name = "edit_prediction_cli"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "ep"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
anthropic.workspace = true
|
|
http_client.workspace = true
|
|
chrono.workspace = true
|
|
clap = "4"
|
|
client.workspace = true
|
|
cloud_llm_client = { workspace = true, features = ["predict-edits"] }
|
|
collections.workspace = true
|
|
db.workspace = true
|
|
debug_adapter_extension.workspace = true
|
|
dirs.workspace = true
|
|
extension.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
gpui_platform.workspace = true
|
|
gpui_tokio.workspace = true
|
|
indoc.workspace = true
|
|
language.workspace = true
|
|
language_extension.workspace = true
|
|
language_model.workspace = true
|
|
language_models.workspace = true
|
|
languages = { workspace = true, features = ["load-grammars"] }
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
node_runtime.workspace = true
|
|
open_ai.workspace = true
|
|
|
|
paths.workspace = true
|
|
project.workspace = true
|
|
prompt_store.workspace = true
|
|
release_channel.workspace = true
|
|
reqwest_client.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
shellexpand.workspace = true
|
|
smol.workspace = true
|
|
sqlez.workspace = true
|
|
strum.workspace = true
|
|
sqlez_macros.workspace = true
|
|
terminal_view.workspace = true
|
|
util.workspace = true
|
|
watch.workspace = true
|
|
edit_prediction = { workspace = true, features = ["cli-support"] }
|
|
edit_prediction_metrics = { workspace = true, features = ["tree-sitter"] }
|
|
telemetry_events.workspace = true
|
|
wasmtime.workspace = true
|
|
zeta_prompt.workspace = true
|
|
rand.workspace = true
|
|
similar = "3.1.1"
|
|
flate2 = "1.1.9"
|
|
toml.workspace = true
|
|
rust-embed.workspace = true
|
|
gaoya = "0.2.2"
|
|
|
|
# Wasmtime is included as a dependency in order to enable the same
|
|
# features that are enabled in Zed.
|
|
#
|
|
# If we don't enable these features we get crashes when creating
|
|
# a Tree-sitter WasmStore.
|
|
[features]
|
|
dynamic_prompts = []
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["wasmtime"]
|
|
|
|
[dev-dependencies]
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
indoc.workspace = true
|
|
pretty_assertions.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
tempfile.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|
|
|