agent-joule/crates/settings_ui/Cargo.toml
David Charlot 94e626045f Remove 19 unused dependencies, and make script/clippy exit clean
The lint stage went green earlier this week, but the script still failed
locally on the cargo-machete step it runs afterwards — so anyone running
it saw red and learned to ignore it, which is the same problem the lint
work existed to fix.

Every removal was verified before it was made. cargo-machete is a text
search and will flag a dependency reached through a macro, a re-export,
or a cfg-gated path, so each of the 19 was grepped for `use X` and `X::`
in its own crate first; all came back with nothing.

Nine were ours. `agent_joule_panel` still declared jcp-bridge,
joule-code-jcp, joule-code-joulecontract, joule-code-release,
joule-code-spec, jouleclaw-runtime, joulecontract-schema, ignore and lsp
— fork-evolution leftovers, each one a crate the panel paid to build and
never touched.

The `visual-tests` feature goes too, which I had left alone when its
binary was removed because I could not then rule out breaking Linux.
Reading every `image` declaration settled it: image is a *regular*
dependency on Linux and FreeBSD through a target section, and `dep:image`
is also pulled in by the live `test-support` feature. So `visual-tests`
was the only consumer of tempfile, action_log and clock/test-support, and
dropping it orphans nothing.

The `collab` failure was a different thing wearing the same hat: not an
unused dependency but a manifest that would not load. `crates/collab` is
not a workspace member and nothing depends on it, yet its own manifest
declares `collab = { workspace = true }` against an entry this fork
deleted from [workspace.dependencies] — so machete died loading a
manifest nothing builds. The entry is restored, as upstream has it;
membership is unchanged.

Which leaves `crates/collab` itself: 95 tracked files, outside the
workspace, referenced by nothing. The same shape as the visual test
runner, and left in place rather than removed on my own judgement.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-31 23:05:20 -04:00

71 lines
1.8 KiB
TOML

[package]
name = "settings_ui"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/settings_ui.rs"
[features]
default = []
test-support = []
[dependencies]
agent_skills.workspace = true
anyhow.workspace = true
audio.workspace = true
component.workspace = true
codestral.workspace = true
copilot.workspace = true
copilot_ui.workspace = true
cpal.workspace = true
edit_prediction.workspace = true
edit_prediction_ui.workspace = true
editor.workspace = true
fs.workspace = true
feature_flags.workspace = true
futures.workspace = true
fuzzy.workspace = true
gpui.workspace = true
heck.workspace = true
itertools.workspace = true
language.workspace = true
log.workspace = true
menu.workspace = true
paths.workspace = true
picker.workspace = true
platform_title_bar.workspace = true
project.workspace = true
release_channel.workspace = true
rodio.workspace = true
schemars.workspace = true
search.workspace = true
serde.workspace = true
serde_json.workspace = true
settings.workspace = true
strum.workspace = true
telemetry.workspace = true
theme.workspace = true
theme_settings.workspace = true
ui.workspace = true
util.workspace = true
workspace.workspace = true
zed_actions.workspace = true
zed_credentials_provider.workspace = true
[dev-dependencies]
fs = { workspace = true, features = ["test-support"] }
futures.workspace = true
gpui = { workspace = true, features = ["test-support"] }
paths.workspace = true
pretty_assertions.workspace = true
project = { workspace = true, features = ["test-support"] }
serde_json.workspace = true
settings = { workspace = true, features = ["test-support"] }
title_bar = { workspace = true, features = ["test-support"] }
workspace = { workspace = true, features = ["test-support"] }