дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 05:22:23 +02:00
`ide_heap::testing` (~430 lines of `.hprof` fixture builders) and `ide_index::bench_support` (`SyntheticIndex`) were `#[doc(hidden)] pub mod`s, so they were compiled into the desktop app and `openidea-server` and were part of the public API of both crates. Only tests and benches use them. They are now behind a `testing` feature (`ide-heap`) and a `bench-support` feature (`ide-index`), plus `cfg(test)` for in-crate tests. This follows what `ide-ssh` already does. `bench-support` is named for what it holds: a bench-only builder, not shared test fixtures. Co-authored-by: Mr0Bread <[email protected]>
95 рядки
2.7 KiB
TOML
95 рядки
2.7 KiB
TOML
[package]
|
|
name = "ide-host"
|
|
description = "The IDE backend without a UI toolkit: projects per window, terminals, processes, and the JSON-RPC server for remote development"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "openidea-server"
|
|
path = "src/bin/server.rs"
|
|
|
|
[dependencies]
|
|
encoding_rs.workspace = true
|
|
ide-command.workspace = true
|
|
ide-core.workspace = true
|
|
ide-mcp.workspace = true
|
|
futures.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
ide-text.workspace = true
|
|
ide-vfs.workspace = true
|
|
regex-syntax.workspace = true
|
|
regex-lite = "0.1"
|
|
ide-workspace.workspace = true
|
|
ide-language.workspace = true
|
|
blake3.workspace = true
|
|
ide-index.workspace = true
|
|
ide-syntax.workspace = true
|
|
ide-search.workspace = true
|
|
ide-lsp.workspace = true
|
|
ide-vcs.workspace = true
|
|
ide-dap.workspace = true
|
|
ide-heap.workspace = true
|
|
ide-jvm-attach.workspace = true
|
|
ide-jvm-inspect.workspace = true
|
|
ide-streams.workspace = true
|
|
ide-build.workspace = true
|
|
ide-analysis.workspace = true
|
|
ide-coverage.workspace = true
|
|
ide-spell.workspace = true
|
|
ide-terminal.workspace = true
|
|
ide-run.workspace = true
|
|
ide-sdk.workspace = true
|
|
ide-http.workspace = true
|
|
reqwest.workspace = true
|
|
ignore.workspace = true
|
|
base64.workspace = true
|
|
getrandom = "0.3"
|
|
globset.workspace = true
|
|
ide-db.workspace = true
|
|
ide-ssh.workspace = true
|
|
ide-remote.workspace = true
|
|
ide-web.workspace = true
|
|
ide-jsonrpc.workspace = true
|
|
ide-agent.workspace = true
|
|
ide-notebook.workspace = true
|
|
ide-extension.workspace = true
|
|
ide-plugin.workspace = true
|
|
ide-tools = { path = "../ide-tools" }
|
|
ide-scaffold.workspace = true
|
|
ide-docker = { path = "../ide-docker" }
|
|
ide-flutter = { path = "../ide-flutter" }
|
|
semver = "1"
|
|
serde.workspace = true
|
|
jsonschema = { version = "0.33", default-features = false }
|
|
serde_json = { workspace = true, features = ["raw_value"] }
|
|
toml.workspace = true
|
|
specta.workspace = true
|
|
specta-typescript.workspace = true
|
|
tokio = { workspace = true, features = ["io-std"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
parking_lot.workspace = true
|
|
dunce.workspace = true
|
|
dirs.workspace = true
|
|
uuid.workspace = true
|
|
tempfile.workspace = true
|
|
zip.workspace = true
|
|
quick-xml = "0.42"
|
|
|
|
[dev-dependencies]
|
|
ide-heap = { workspace = true, features = ["testing"] }
|
|
ide-ssh = { workspace = true, features = ["testing"] }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "io-util", "test-util"] }
|
|
criterion = { version = "0.5", default-features = false }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { version = "1.1", features = ["fs", "process"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Storage_FileSystem"] }
|
|
|
|
[[bench]]
|
|
name = "plugins"
|
|
harness = false
|