Zig treats paths, arguments and environment values as byte slices; the port converted them lossily in many places. Now (final-Z1.md): - argv, env (incl. present non-UTF-8 values), HOME, PATH lookup, passwd, resources dir, TMPDIR, cgroup, config path canonicalization, +validate-config, +list-themes and Zig-string escapes (\xFF) keep raw bytes. String-based config values carry bytes via ghostty_os::osbytes, a bijective escape (noncharacter U+FDD0 + byte) that leaves all valid UTF-8 - including Nerd Font private-use icons - unchanged. - os/file rlimit fallbacks exist on all targets. - i18n locale canonicalization is an exact port of libintl's tables (e.g. pa-Guru -> pa_IN). - New ghostty-build-info crate is the single source of version, channel, commit and build mode for all consumers. Test Plan: - cargo test -p ghostty-os -p ghostty-config -p ghostty-cli (incl. randomized osbytes round-trip property tests)
31 lines
605 B
TOML
31 lines
605 B
TOML
[package]
|
|
name = "ghostty-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
flate2 = "1.1.10"
|
|
ghostty-build-info.workspace = true
|
|
ghostty-apprt.workspace = true
|
|
ghostty-config.workspace = true
|
|
ghostty-crash.workspace = true
|
|
ghostty-font.workspace = true
|
|
ghostty-input.workspace = true
|
|
ghostty-os.workspace = true
|
|
ghostty-vt.workspace = true
|
|
log = "0.4.34"
|
|
ratatui = "0.30.2"
|
|
termina = "0.3.3"
|
|
thiserror = "2.0.21"
|
|
unicode-width = "0.2.2"
|
|
|
|
[build-dependencies]
|
|
ghostty-helpgen.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|