Skip to content

Commit 2efca5f

Browse files
b5matheus23
andauthored
feat: framed messages tutorial (#119)
* WIP: framed messages tutorial * Implement framing using `tokio_util::codec` * Commit missing file * Write README * Also check the `framed-messages` example * code review --------- Co-authored-by: Philipp Krüger <[email protected]>
1 parent 502a334 commit 2efca5f

File tree

8 files changed

+4523
-1
lines changed

8 files changed

+4523
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
RUSTFLAGS: -Dwarnings
1414
RUSTDOCFLAGS: -Dwarnings
1515
MSRV: "1.81"
16-
RS_EXAMPLES_LIST: "dumbpipe-web,extism/host,extism/iroh-extism-host-functions,extism/plugin,iroh-automerge,iroh-gateway,frosty,browser-echo"
16+
RS_EXAMPLES_LIST: "dumbpipe-web,extism/host,extism/iroh-extism-host-functions,extism/plugin,iroh-automerge,iroh-gateway,frosty,browser-echo,framed-messages"
1717
WASM_EXAMPLES_LIST: "browser-echo"
1818
IROH_FORCE_STAGING_RELAYS: "1"
1919

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Forward http requests to dumbpipe. Share a local dev server publicly.
2424

2525
Use iroh through [extism]
2626

27+
### [framed messages](framed-messages)
28+
29+
Send chess moves back and forth on the same bi-directional stream by framing it using `tokio-util`'s `codec` feature.
30+
2731
### [frosty](frosty)
2832

2933
Experiment with [FROST] threshold signatures for iroh.

0 commit comments

Comments
 (0)