mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-25 16:09:44 +00:00
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.
25 lines
426 B
TOML
25 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"
|