mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-24 15:18:02 +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.
24 lines
426 B
TOML
24 lines
426 B
TOML
[package]
|
|
name = "cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/cli.rs"
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "cli"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
clap = { version = "3.1", features = ["derive"] }
|
|
dirs = "3.0"
|
|
ipc-channel = "0.16"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.9"
|
|
core-services = "0.2"
|
|
plist = "1.3"
|