Split protocol and leaf surfaces into crates

Move the protocol runtime into unshell-protocol and remote shell leaf code into unshell-leaves so endpoint and TUI roles can compile independently without circular dependencies.
This commit is contained in:
Michael Mikovsky
2026-04-26 12:39:06 -06:00
parent 74f08333ae
commit d4100d0604
41 changed files with 435 additions and 195 deletions
Generated
+19 -1
View File
@@ -1440,11 +1440,21 @@ name = "unshell"
version = "0.1.0"
dependencies = [
"chrono",
"portable-pty",
"rkyv",
"static_init",
"thiserror 2.0.18",
"unshell-leaves",
"unshell-macros",
"unshell-protocol",
]
[[package]]
name = "unshell-leaves"
version = "0.1.0"
dependencies = [
"portable-pty",
"rkyv",
"unshell",
]
[[package]]
@@ -1456,6 +1466,14 @@ dependencies = [
"syn 2.0.117",
]
[[package]]
name = "unshell-protocol"
version = "0.1.0"
dependencies = [
"rkyv",
"unshell-macros",
]
[[package]]
name = "ush-obfuscate"
version = "0.1.0"