6a3875670a
Add a config.rs module that loads optional ~/.spacesh/config.toml and a default_shell() resolver: SPACESH_SHELL env -> config.toml default_shell -> login shell from the passwd DB -> $SHELL -> /bin/sh. The passwd lookup matters under launchd where $SHELL is absent. All plain-panel spawn sites in server.rs now use the resolver. Adds toml + libc deps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
33 lines
660 B
TOML
33 lines
660 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/spacesh-proto",
|
|
"crates/spacesh-pty",
|
|
"crates/spacesh-core",
|
|
"crates/spaceshd",
|
|
"crates/spacesh-cli",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
version = "0.1.0"
|
|
|
|
[workspace.dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
bytes = "1"
|
|
base64 = "0.22"
|
|
anyhow = "1"
|
|
thiserror = "1"
|
|
futures = "0.3"
|
|
portable-pty = "0.8"
|
|
alacritty_terminal = "0.25"
|
|
fs2 = "0.4"
|
|
dirs = "5"
|
|
toml = "0.8"
|
|
libc = "0.2"
|
|
clap = { version = "4", features = ["derive"] }
|
|
clap_complete = "4"
|