[package] name = "psyterm" version = "0.1.0" edition = "2024" publish = false [package.metadata.bundle] name = "psyTerm" identifier = "dev.buzzert.psyterm" category = "Developer Tool" icon = ["assets/psyTerm.icns"] resources = [ "THIRD_PARTY_NOTICES.md", "licenses", "vendor/gpui/LICENSE-APACHE", "vendor/gpui/PATCH.md", "vendor/xattr/LICENSE-*", ] short_description = "Terminal emulator and multiplexer" [dependencies] alacritty_terminal = "=0.26.0" anyhow = "1" serde = { version = "1", features = ["derive"] } bincode = "1.3" async-channel = "2" log = "0.4" env_logger = "0.11" futures-lite = "2" unicode-segmentation = "1" libc = "0.2" [target.'cfg(target_os = "linux")'.dependencies] gpui = { version = "=0.2.2", default-features = false, features = ["wayland"] } [target.'cfg(target_os = "macos")'.dependencies] # Embed Metal source so building the app needs only the Xcode command line tools. gpui = { version = "=0.2.2", default-features = false, features = ["font-kit", "runtime_shaders"] } nix = { version = "0.29", features = ["event", "poll", "signal", "user"] } [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" } # Local window and text layout fixes are documented in vendor/gpui/PATCH.md. gpui = { path = "vendor/gpui" } [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"