mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-01 04:28:57 +00:00
339069b1d3
We temporarily let it grow when the message size exceed the limit, but restore the buffer's capacity shortly after. This ensures that, for each connection in its entire lifetime, we only ever use 1MB.
36 lines
No EOL
1.1 KiB
TOML
36 lines
No EOL
1.1 KiB
TOML
[package]
|
|
name = "workspace"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/workspace.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = ["client/test-support", "project/test-support", "settings/test-support"]
|
|
|
|
[dependencies]
|
|
client = { path = "../client" }
|
|
clock = { path = "../clock" }
|
|
collections = { path = "../collections" }
|
|
gpui = { path = "../gpui" }
|
|
language = { path = "../language" }
|
|
project = { path = "../project" }
|
|
settings = { path = "../settings" }
|
|
theme = { path = "../theme" }
|
|
util = { path = "../util" }
|
|
anyhow = "1.0.38"
|
|
futures = "0.3"
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
|
parking_lot = "0.11.1"
|
|
postage = { version = "0.4.1", features = ["futures-traits"] }
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
smallvec = { version = "1.6", features = ["union"] }
|
|
|
|
[dev-dependencies]
|
|
client = { path = "../client", features = ["test-support"] }
|
|
gpui = { path = "../gpui", features = ["test-support"] }
|
|
project = { path = "../project", features = ["test-support"] }
|
|
settings = { path = "../settings", features = ["test-support"] } |