mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
We've been considering removing workspace-hack for a couple reasons: - Lukas ran into a situation where its build script seemed to be causing spurious rebuilds. This seems more likely to be a cargo bug than an issue with workspace-hack itself (given that it has an empty build script), but we don't necessarily want to take the time to hunt that down right now. - Marshall mentioned hakari interacts poorly with automated crate updates (in our case provided by rennovate) because you'd need to have `cargo hakari generate && cargo hakari manage-deps` after their changes and we prefer to not have actions that make commits. Currently removing workspace-hack causes our workspace to grow from ~1700 to ~2000 crates being built (depending on platform), which is mainly a problem when you're building the whole workspace or running tests across the the normal and remote binaries (which is where feature-unification nets us the most sharing). It doesn't impact incremental times noticeably when you're just iterating on `-p zed`, and we'll hopefully get these savings back in the future when rust-lang/cargo#14774 (which re-implements the functionality of hakari) is finished. Release Notes: - N/A
130 lines
4.5 KiB
TOML
130 lines
4.5 KiB
TOML
[package]
|
|
authors = ["Nathan Sobo <nathan@zed.dev>"]
|
|
default-run = "collab"
|
|
edition.workspace = true
|
|
name = "collab"
|
|
version = "0.44.0"
|
|
publish.workspace = true
|
|
license = "AGPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "collab"
|
|
|
|
[features]
|
|
sqlite = ["sea-orm/sqlx-sqlite", "sqlx/sqlite"]
|
|
test-support = ["sqlite"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
async-tungstenite = { workspace = true, features = ["tokio", "tokio-rustls-manual-roots" ] }
|
|
aws-config = { version = "1.1.5" }
|
|
aws-sdk-kinesis = "1.51.0"
|
|
aws-sdk-s3 = { version = "1.15.0" }
|
|
axum = { version = "0.6", features = ["json", "headers", "ws"] }
|
|
axum-extra = { version = "0.4", features = ["erased-json"] }
|
|
base64.workspace = true
|
|
chrono.workspace = true
|
|
clock.workspace = true
|
|
collections.workspace = true
|
|
dashmap.workspace = true
|
|
envy = "0.4.2"
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
hex.workspace = true
|
|
http_client.workspace = true
|
|
livekit_api.workspace = true
|
|
log.workspace = true
|
|
nanoid.workspace = true
|
|
parking_lot.workspace = true
|
|
prometheus = "0.14"
|
|
prost.workspace = true
|
|
rand.workspace = true
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
reqwest_client.workspace = true
|
|
rpc.workspace = true
|
|
scrypt = "0.11"
|
|
sea-orm = { version = "=1.1.10", features = ["sqlx-postgres", "postgres-array", "runtime-tokio-rustls", "with-uuid"] }
|
|
semantic_version.workspace = true
|
|
semver.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "json", "time", "uuid", "any"] }
|
|
strum.workspace = true
|
|
subtle.workspace = true
|
|
supermaven_api.workspace = true
|
|
telemetry_events.workspace = true
|
|
text.workspace = true
|
|
time.workspace = true
|
|
tokio = { workspace = true, features = ["full"] }
|
|
toml.workspace = true
|
|
tower = "0.4"
|
|
tower-http = { workspace = true, features = ["trace"] }
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json", "registry", "tracing-log"] } # workaround for https://github.com/tokio-rs/tracing/issues/2927
|
|
util.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
agent_settings.workspace = true
|
|
assistant_context.workspace = true
|
|
assistant_slash_command.workspace = true
|
|
async-trait.workspace = true
|
|
audio.workspace = true
|
|
buffer_diff.workspace = true
|
|
call = { workspace = true, features = ["test-support"] }
|
|
channel.workspace = true
|
|
client = { workspace = true, features = ["test-support"] }
|
|
collab_ui = { workspace = true, features = ["test-support"] }
|
|
collections = { workspace = true, features = ["test-support"] }
|
|
command_palette_hooks.workspace = true
|
|
context_server.workspace = true
|
|
ctor.workspace = true
|
|
dap = { workspace = true, features = ["test-support"] }
|
|
dap_adapters = { workspace = true, features = ["test-support"] }
|
|
dap-types.workspace = true
|
|
debugger_ui = { workspace = true, features = ["test-support"] }
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
extension.workspace = true
|
|
file_finder.workspace = true
|
|
fs = { workspace = true, features = ["test-support"] }
|
|
git = { workspace = true, features = ["test-support"] }
|
|
git_hosting_providers.workspace = true
|
|
git_ui = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
gpui_tokio.workspace = true
|
|
hyper.workspace = true
|
|
indoc.workspace = true
|
|
language = { workspace = true, features = ["test-support"] }
|
|
language_model = { workspace = true, features = ["test-support"] }
|
|
livekit_client = { workspace = true, features = ["test-support"] }
|
|
lsp = { workspace = true, features = ["test-support"] }
|
|
menu.workspace = true
|
|
multi_buffer = { workspace = true, features = ["test-support"] }
|
|
node_runtime.workspace = true
|
|
notifications = { workspace = true, features = ["test-support"] }
|
|
pretty_assertions.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
prompt_store.workspace = true
|
|
recent_projects.workspace = true
|
|
release_channel.workspace = true
|
|
remote = { workspace = true, features = ["test-support"] }
|
|
remote_server.workspace = true
|
|
rpc = { workspace = true, features = ["test-support"] }
|
|
sea-orm = { version = "=1.1.10", features = ["sqlx-sqlite"] }
|
|
serde_json.workspace = true
|
|
session = { workspace = true, features = ["test-support"] }
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
smol.workspace = true
|
|
sqlx = { version = "0.8", features = ["sqlite"] }
|
|
task.workspace = true
|
|
theme.workspace = true
|
|
unindent.workspace = true
|
|
util.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|
|
worktree = { workspace = true, features = ["test-support"] }
|
|
zlog.workspace = true
|