Add crossbeam channel router leaf example

This commit is contained in:
Michael Mikovsky
2026-04-29 22:14:04 -06:00
parent 371f3ae492
commit 71b311065d
12 changed files with 969 additions and 31 deletions
+8
View File
@@ -28,6 +28,7 @@ syn = "2.0.117"
quote = "1.0.45"
proc-macro2 = "1.0.106"
portable-pty = "0.9.0"
crossbeam-channel = "0.5.15"
unshell = { path = "." }
unshell-protocol = { path = "./unshell-protocol" }
unshell-leaves = { path = "./unshell-leaves" }
@@ -64,10 +65,17 @@ unshell-macros = { workspace = true }
unshell-protocol = { workspace = true }
unshell-leaves = { workspace = true }
[dev-dependencies]
crossbeam-channel = { workspace = true }
[[example]]
name = "leaf_derive"
path = "examples/protocol/leaf_derive.rs"
[[example]]
name = "crossbeam_channel_leaf"
path = "examples/protocol/crossbeam_channel_leaf.rs"
[[example]]
name = "remote_shell_endpoint"
path = "examples/protocol/remote_shell_endpoint.rs"