Fix cargo shear warnings (#64340)
Also updates CI to always run this - that way we ensure that disabling or enabling tests does not become stale at some point and thus can safely add this. Release Notes: - N/A - [GPUI] N/A
This commit is contained in:
1 parent
eb55524b57
commit
20d55798db
159 files changed
+226
-38
No files matched your search
@@ -61,7 +61,7 @@ jobs:
|
|||||||
run: cargo fix --workspace --allow-dirty --allow-staged
|
run: cargo fix --workspace --allow-dirty --allow-staged
|
||||||
- name: autofix_pr::run_autofix::run_cargo_shear_fix
|
- name: autofix_pr::run_autofix::run_cargo_shear_fix
|
||||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||||
run: cargo shear --fix
|
run: cargo shear --fix --check-test-targets
|
||||||
- name: autofix_pr::run_autofix::run_clippy_fix
|
- name: autofix_pr::run_autofix::run_clippy_fix
|
||||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||||
run: cargo clippy --workspace --fix --allow-dirty --allow-staged
|
run: cargo clippy --workspace --fix --allow-dirty --allow-staged
|
||||||
|
|||||||
@@ -707,7 +707,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tool: cargo-shear@1.13.4
|
tool: cargo-shear@1.13.4
|
||||||
- name: run_tests::check_dependencies::run_cargo_shear
|
- name: run_tests::check_dependencies::run_cargo_shear
|
||||||
run: cargo shear --locked --deny-warnings
|
run: cargo shear --locked --deny-warnings --check-test-targets
|
||||||
- name: run_tests::check_dependencies::check_cargo_lock
|
- name: run_tests::check_dependencies::check_cargo_lock
|
||||||
run: cargo update --locked --workspace
|
run: cargo update --locked --workspace
|
||||||
- name: run_tests::check_dependencies::check_crate_graph
|
- name: run_tests::check_dependencies::check_crate_graph
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/acp_tools.rs"
|
path = "src/acp_tools.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["workspace/test-support"]
|
test-support = ["workspace/test-support"]
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ license = "GPL-3.0-or-later"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/action_log.rs"
|
path = "src/action_log.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/activity_indicator.rs"
|
path = "src/activity_indicator.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = []
|
test-support = []
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ license = "GPL-3.0-or-later"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/agent.rs"
|
path = "src/agent.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["db/test-support"]
|
test-support = ["db/test-support"]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/agent_settings.rs"
|
path = "src/agent_settings.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "agent_skills.rs"
|
path = "agent_skills.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/ai_onboarding.rs"
|
path = "src/ai_onboarding.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/anthropic.rs"
|
path = "src/anthropic.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/askpass.rs"
|
path = "src/askpass.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ license = "GPL-3.0-or-later"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/assets.rs"
|
path = "src/assets.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/auto_update_ui.rs"
|
path = "src/auto_update_ui.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
agent_skills.workspace = true
|
agent_skills.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/aws_http_client.rs"
|
path = "src/aws_http_client.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/bedrock.rs"
|
path = "src/bedrock.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ license = "GPL-3.0-or-later"
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/benchmarks.rs"
|
path = "src/benchmarks.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/breadcrumbs.rs"
|
path = "src/breadcrumbs.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui.workspace = true
|
gpui.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/buffer_diff.rs"
|
path = "src/buffer_diff.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["settings"]
|
test-support = ["settings"]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/cloud_api_client.rs"
|
path = "src/cloud_api_client.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/cloud_api_types.rs"
|
path = "src/cloud_api_types.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/cloud_llm_client.rs"
|
path = "src/cloud_llm_client.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ license = "GPL-3.0-or-later"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/codestral.rs"
|
path = "src/codestral.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
@@ -24,5 +26,3 @@ serde_json.workspace = true
|
|||||||
text.workspace = true
|
text.workspace = true
|
||||||
zed_credentials_provider.workspace = true
|
zed_credentials_provider.workspace = true
|
||||||
zeta_prompt.workspace = true
|
zeta_prompt.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
@@ -19,6 +19,7 @@ test-support = ["sqlite"]
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
test = false
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "collab_tests"
|
name = "collab_tests"
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/command_palette_hooks.rs"
|
path = "src/command_palette_hooks.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
collections.workspace = true
|
collections.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/component.rs"
|
path = "src/component.rs"
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
collections.workspace = true
|
collections.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/component_preview.rs"
|
path = "src/component_preview.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/context_server.rs"
|
path = "src/context_server.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["gpui/test-support"]
|
test-support = ["gpui/test-support"]
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/copilot_ui.rs"
|
path = "src/copilot_ui.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -30,3 +30,4 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/crashes.rs"
|
path = "src/crashes.rs"
|
||||||
|
doctest = false
|
||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/credentials_provider.rs"
|
path = "src/credentials_provider.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -21,3 +21,5 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/debug_adapter_extension.rs"
|
path = "src/debug_adapter_extension.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/deepseek.rs"
|
path = "src/deepseek.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ version = "0.1.0"
|
|||||||
publish.workspace = true
|
publish.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
async-tar.workspace = true
|
async-tar.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/edit_prediction.rs"
|
path = "src/edit_prediction.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cli-support = []
|
cli-support = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/edit_prediction_context.rs"
|
path = "src/edit_prediction_context.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/edit_prediction_metrics.rs"
|
path = "src/edit_prediction_metrics.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
tree-sitter = ["dep:tree-sitter"]
|
tree-sitter = ["dep:tree-sitter"]
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/edit_prediction_types.rs"
|
path = "src/edit_prediction_types.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
client.workspace = true
|
client.workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/encoding_selector.rs"
|
path = "src/encoding_selector.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
editor.workspace = true
|
editor.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/env_var.rs"
|
path = "src/env_var.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui_shared_string.workspace = true
|
gpui_shared_string.workspace = true
|
||||||
@@ -7,6 +7,8 @@ license = "GPL-3.0-or-later"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "etw_tracing.rs"
|
path = "etw_tracing.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/eval_utils.rs"
|
path = "src/eval_utils.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui_platform.workspace = true
|
gpui_platform.workspace = true
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ workspace = true
|
|||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
path = "src/explorer_command_injector.rs"
|
path = "src/explorer_command_injector.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["nightly"]
|
default = ["nightly"]
|
||||||
@@ -23,5 +24,3 @@ nightly = []
|
|||||||
windows.workspace = true
|
windows.workspace = true
|
||||||
windows-core.workspace = true
|
windows-core.workspace = true
|
||||||
windows-registry.workspace = true
|
windows-registry.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/extension.rs"
|
path = "src/extension.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/extension_api.rs"
|
path = "src/extension_api.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/extensions_ui.rs"
|
path = "src/extensions_ui.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/feature_flags.rs"
|
path = "src/feature_flags.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
collections.workspace = true
|
collections.workspace = true
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ license = "GPL-3.0-or-later"
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/feature_flags_macros.rs"
|
path = "src/feature_flags_macros.rs"
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/feedback.rs"
|
path = "src/feedback.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = []
|
test-support = []
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/fs.rs"
|
path = "src/fs.rs"
|
||||||
test = false
|
doctest = false
|
||||||
|
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "integration"
|
name = "integration"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/git.rs"
|
path = "src/git.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["rand", "gpui/test-support"]
|
test-support = ["rand", "gpui/test-support"]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/git_hosting_providers.rs"
|
path = "src/git_hosting_providers.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
name = "git_ui"
|
name = "git_ui"
|
||||||
path = "src/git_ui.rs"
|
path = "src/git_ui.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = ["multi_buffer/test-support", "remote_connection/test-support"]
|
test-support = ["multi_buffer/test-support", "remote_connection/test-support"]
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
name = "git_ui_core"
|
name = "git_ui_core"
|
||||||
path = "src/git_ui_core.rs"
|
path = "src/git_ui_core.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/google_ai.rs"
|
path = "src/google_ai.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
schemars = ["dep:schemars"]
|
schemars = ["dep:schemars"]
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ stacker = ["dep:stacksafe"]
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui.rs"
|
path = "src/gpui.rs"
|
||||||
doctest = false
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accesskit.workspace = true
|
accesskit.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_apple.rs"
|
path = "src/gpui_apple.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_linux.rs"
|
path = "src/gpui_linux.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["wayland", "x11"]
|
default = ["wayland", "x11"]
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_macos.rs"
|
path = "src/gpui_macos.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["gpui/default"]
|
default = ["gpui/default"]
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ inspector = []
|
|||||||
path = "src/gpui_macros.rs"
|
path = "src/gpui_macros.rs"
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
doctest = true
|
doctest = true
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
heck.workspace = true
|
heck.workspace = true
|
||||||
@@ -24,4 +25,4 @@ quote.workspace = true
|
|||||||
syn.workspace = true
|
syn.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
gpui = { workspace = true, features = ["inspector"] }
|
gpui = { workspace = true, features = ["inspector"] }
|
||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_platform.rs"
|
path = "src/gpui_platform.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ license = "Apache-2.0"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "gpui_shared_string.rs"
|
path = "gpui_shared_string.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
schemars.workspace = true
|
schemars.workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_tokio.rs"
|
path = "src/gpui_tokio.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ publish.workspace = true
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ multithreaded = ["dep:wasm_thread", "scheduler/wasm-threads"]
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_web.rs"
|
path = "src/gpui_web.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
unicode-properties = "=0.1.3"
|
unicode-properties = "=0.1.3"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_wgpu.rs"
|
path = "src/gpui_wgpu.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/gpui_windows.rs"
|
path = "src/gpui_windows.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["gpui/default"]
|
default = ["gpui/default"]
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/grammars.rs"
|
path = "src/grammars.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/html_to_markdown.rs"
|
path = "src/html_to_markdown.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ github-download = [
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/http_client.rs"
|
path = "src/http_client.rs"
|
||||||
doctest = true
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -13,7 +13,8 @@ test-support = []
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/http_client_tls.rs"
|
path = "src/http_client_tls.rs"
|
||||||
doctest = true
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/http_proxy.rs"
|
path = "src/http_proxy.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# Compiles in the `ZED_SANDBOX_PROXY_ALLOW_LOCAL_IPS` escape hatch that lets the
|
# Compiles in the `ZED_SANDBOX_PROXY_ALLOW_LOCAL_IPS` escape hatch that lets the
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/icons.rs"
|
path = "src/icons.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/input_latency_ui.rs"
|
path = "src/input_latency_ui.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono.workspace = true
|
chrono.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/inspector_ui.rs"
|
path = "src/inspector_ui.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/install_cli.rs"
|
path = "src/install_cli.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = []
|
test-support = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/json_schema_store.rs"
|
path = "src/json_schema_store.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/keymap_editor.rs"
|
path = "src/keymap_editor.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ publish = false
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/language_core.rs"
|
path = "src/language_core.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/language_detection.rs"
|
path = "src/language_detection.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
betlang.workspace = true
|
betlang.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/language_extension.rs"
|
path = "src/language_extension.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/language_models.rs"
|
path = "src/language_models.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = []
|
test-support = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/language_models_cloud.rs"
|
path = "src/language_models_cloud.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anthropic = { workspace = true, features = ["schemars"] }
|
anthropic = { workspace = true, features = ["schemars"] }
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/python.rs"
|
path = "src/python.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ license = "GPL-3.0-or-later"
|
|||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = [
|
test-support = [
|
||||||
"load-grammars"
|
"load-grammars"
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/line_ending_selector.rs"
|
path = "src/line_ending_selector.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
editor.workspace = true
|
editor.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/llama_cpp.rs"
|
path = "src/llama_cpp.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/lmstudio.rs"
|
path = "src/lmstudio.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/markdown_preview.rs"
|
path = "src/markdown_preview.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = []
|
test-support = []
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/menu.rs"
|
path = "src/menu.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gpui.workspace = true
|
gpui.workspace = true
|
||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/miniprofiler_ui.rs"
|
path = "src/miniprofiler_ui.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
command_palette_hooks.workspace = true
|
command_palette_hooks.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/mistral.rs"
|
path = "src/mistral.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/notifications.rs"
|
path = "src/notifications.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-support = [
|
test-support = [
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/oauth_callback_server.rs"
|
path = "src/oauth_callback_server.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
test = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/ollama.rs"
|
path = "src/ollama.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/onboarding.rs"
|
path = "src/onboarding.rs"
|
||||||
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/open_ai.rs"
|
path = "src/open_ai.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -31,3 +31,4 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/open_path_prompt.rs"
|
path = "src/open_path_prompt.rs"
|
||||||
|
doctest = false
|
||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/open_router.rs"
|
path = "src/open_router.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ workspace = true
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/openai_subscribed.rs"
|
path = "src/openai_subscribed.rs"
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ workspace = true
|
|||||||
[lib]
|
[lib]
|
||||||
path = "src/opencode.rs"
|
path = "src/opencode.rs"
|
||||||
test = false
|
test = false
|
||||||
|
doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
Loaded 100 of 159 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user