44 lines
968 B
TOML
44 lines
968 B
TOML
[package]
|
|
name = "terminal"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
alacritty_terminal = "=0.26.0"
|
|
anyhow = "1"
|
|
async-channel = "2"
|
|
gpui = { version = "=0.2.2", default-features = false, features = ["wayland"] }
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
futures-lite = "2"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[patch.crates-io]
|
|
# GPUI's zed-async-tar uses xattr 0.2.3, whose Linux ENOATTR alias was removed
|
|
# from libc. Keep the compatibility fix local; see vendor/xattr/PATCH.md.
|
|
xattr = { path = "vendor/xattr" }
|
|
|
|
[profile.dev]
|
|
debug = 1
|
|
opt-level = 1
|
|
|
|
# Text shaping and GPUI scene construction are latency-sensitive even in a
|
|
# development build. Keep our debug info/assertions while optimizing these paths.
|
|
[profile.dev.package.gpui]
|
|
opt-level = 2
|
|
|
|
[profile.dev.package.cosmic-text]
|
|
opt-level = 2
|
|
|
|
[profile.dev.package.rustybuzz]
|
|
opt-level = 2
|
|
|
|
[profile.dev.package.swash]
|
|
opt-level = 2
|
|
|
|
[profile.release]
|
|
lto = "thin"
|