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>
27 lines
586 B
TOML
27 lines
586 B
TOML
[package]
|
|
name = "spaceshd"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
|
|
[[bin]]
|
|
name = "spaceshd"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
spacesh-proto = { path = "../spacesh-proto" }
|
|
spacesh-pty = { path = "../spacesh-pty" }
|
|
spacesh-core = { path = "../spacesh-core" }
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
bytes.workspace = true
|
|
base64.workspace = true
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
futures.workspace = true
|
|
fs2.workspace = true
|
|
dirs.workspace = true
|
|
toml.workspace = true
|
|
libc.workspace = true
|