mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:25:59 +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.
74 lines
2.2 KiB
TOML
74 lines
2.2 KiB
TOML
[package]
|
|
authors = ["Nathan Sobo <nathan@warp.dev>"]
|
|
default-run = "collab"
|
|
edition = "2021"
|
|
name = "collab"
|
|
version = "0.1.0"
|
|
|
|
[[bin]]
|
|
name = "collab"
|
|
|
|
[[bin]]
|
|
name = "seed"
|
|
required-features = ["seed-support"]
|
|
|
|
[dependencies]
|
|
collections = { path = "../collections" }
|
|
rpc = { path = "../rpc" }
|
|
util = { path = "../util" }
|
|
|
|
anyhow = "1.0.40"
|
|
async-trait = "0.1.50"
|
|
async-tungstenite = "0.16"
|
|
axum = { version = "0.5", features = ["json", "headers", "ws"] }
|
|
axum-extra = { version = "0.3", features = ["erased-json"] }
|
|
base64 = "0.13"
|
|
clap = { version = "3.1", features = ["derive"], optional = true }
|
|
envy = "0.4.2"
|
|
futures = "0.3"
|
|
hyper = "0.14"
|
|
lazy_static = "1.4"
|
|
lipsum = { version = "0.8", optional = true }
|
|
nanoid = "0.4"
|
|
parking_lot = "0.11.1"
|
|
rand = "0.8"
|
|
reqwest = { version = "0.11", features = ["json"], optional = true }
|
|
scrypt = "0.7"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_json = "1.0"
|
|
sha-1 = "0.9"
|
|
time = "0.2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = "0.17"
|
|
tonic = "0.6"
|
|
tower = "0.4"
|
|
toml = "0.5.8"
|
|
tracing = "0.1.34"
|
|
tracing-log = "0.1.3"
|
|
tracing-subscriber = { version = "0.3.11", features = ["env-filter", "json"] }
|
|
|
|
[dependencies.sqlx]
|
|
version = "0.5.2"
|
|
features = ["runtime-tokio-rustls", "postgres", "time", "uuid"]
|
|
|
|
[dev-dependencies]
|
|
collections = { path = "../collections", features = ["test-support"] }
|
|
gpui = { path = "../gpui", features = ["test-support"] }
|
|
rpc = { path = "../rpc", features = ["test-support"] }
|
|
client = { path = "../client", features = ["test-support"] }
|
|
editor = { path = "../editor", features = ["test-support"] }
|
|
language = { path = "../language", features = ["test-support"] }
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
|
lsp = { path = "../lsp", features = ["test-support"] }
|
|
project = { path = "../project", features = ["test-support"] }
|
|
settings = { path = "../settings", features = ["test-support"] }
|
|
theme = { path = "../theme" }
|
|
workspace = { path = "../workspace", features = ["test-support"] }
|
|
ctor = "0.1"
|
|
env_logger = "0.8"
|
|
util = { path = "../util" }
|
|
lazy_static = "1.4"
|
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
|
|
[features]
|
|
seed-support = ["clap", "lipsum", "reqwest"]
|