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]>
80 lines
2 KiB
TOML
80 lines
2 KiB
TOML
[package]
|
|
name = "title_bar"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/title_bar.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
default = []
|
|
|
|
test-support = [
|
|
"call/test-support",
|
|
"client/test-support",
|
|
|
|
"gpui/test-support",
|
|
|
|
"project/test-support",
|
|
"remote/test-support",
|
|
"util/test-support",
|
|
"workspace/test-support",
|
|
"recent_projects/test-support",
|
|
]
|
|
|
|
[dependencies]
|
|
agent_settings.workspace = true
|
|
anyhow.workspace = true
|
|
fs.workspace = true
|
|
platform_title_bar.workspace = true
|
|
call.workspace = true
|
|
channel.workspace = true
|
|
chrono.workspace = true
|
|
client.workspace = true
|
|
cloud_api_types.workspace = true
|
|
db.workspace = true
|
|
|
|
git_ui.workspace = true
|
|
gpui = { workspace = true, features = ["screen-capture"] }
|
|
icons.workspace = true
|
|
livekit_client.workspace = true
|
|
notifications.workspace = true
|
|
project.workspace = true
|
|
recent_projects.workspace = true
|
|
remote.workspace = true
|
|
remote_connection.workspace = true
|
|
rpc.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
telemetry.workspace = true
|
|
theme.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
arrayvec = "0.7.8"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[dev-dependencies]
|
|
call = { workspace = true, features = ["test-support"] }
|
|
client = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
notifications = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
release_channel.workspace = true
|
|
remote = { workspace = true, features = ["test-support"] }
|
|
rpc = { workspace = true, features = ["test-support"] }
|
|
semver.workspace = true
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
util = { workspace = true, features = ["test-support"] }
|
|
workspace = { workspace = true, features = ["test-support"] }
|