Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/reference/languages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ commit. A runtime's suite runs every example against it:
| JSON wire format <br><sub>`format-json`</sub> | ✅ supported | 🟡 partial: decoding doesn't check enum variants or integer ranges ([comline-typescript#57](https://github.com/ComlineProject/comline-typescript/issues/57)) |
| MessagePack wire format <br><sub>`format-msgpack`</sub> | ✅ supported | ❌ unsupported: JSON and packed@1 ship |
| packed wire format <br><sub>`format-packed`</sub> | ✅ supported | ✅ supported |
| packed sizes <br><sub>`sizes-packed`</sub> | ✅ supported | ❔ not reported |
| MessagePack sizes <br><sub>`sizes-msgpack`</sub> | ✅ supported | ❔ not reported |
| JSON sizes <br><sub>`sizes-json`</sub> | ✅ supported | ❔ not reported |
| packed sizes <br><sub>`sizes-packed`</sub> | ✅ supported | ❌ unsupported: no exact encoded size yet: the encoders don't report how many bytes a value takes ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) |
| MessagePack sizes <br><sub>`sizes-msgpack`</sub> | ✅ supported | ❌ unsupported: no exact encoded size yet, and msgpack@1 itself doesn't ship ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) |
| JSON sizes <br><sub>`sizes-json`</sub> | ✅ supported | ❌ unsupported: no exact encoded size or upper bound yet: the encoder doesn't report how many bytes a value takes ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) |

<!-- runtime-matrix:end -->

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/reference/languages/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Runtime `rust`.
| envelope <br><sub>`envelope`</sub> | a response's outcome: ok with a payload, an error ordinal with its body, or a provider fault | ✅ supported | [8 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/envelope.json) |
| datagram framing <br><sub>`framing-datagram`</sub> | Comline's own binary framing of requests and responses | ✅ supported | [12 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram.json) |
| datagram@2 framing <br><sub>`framing-datagram2`</sub> | the datagram framing with a request/reply kind and a protocol number, for calls in both directions and several protocols on one connection | ✅ supported | [16 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram2.json) |
| datagram@3 framing <br><sub>`framing-datagram3`</sub> | the datagram framing that addresses a call by its protocol's and function's wire numbers, both varints (calls = by_id); replies as datagram@2 | ✅ supported | [18 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram3.json) |
| datagram@3 framing <br><sub>`framing-datagram3`</sub> | the datagram framing that addresses a call by its protocol's and function's wire numbers, both varints (calls = by_id); replies as datagram@2 | ✅ supported | [19 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram3.json) |
| comline@2 handshake <br><sub>`handshake-comline2`</sub> | the compatibility-checking handshake: its hello, answer and verdict messages, and its negotiation steps under every parameter, with every refusal reason | ✅ supported | [66 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/handshake-comline2.json) |
| stream framing <br><sub>`stream`</sub> | frames on a byte stream (TCP, a pipe): each behind a u32 little-endian length prefix, refused over the limit, by default 16 MiB (16777216 bytes) in every runtime | ✅ supported | [24 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/stream.json) |
| JSON-RPC framing <br><sub>`framing-jsonrpc`</sub> | JSON-RPC 2.0 requests and responses, a fault as -32603 | ✅ supported | [62 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-jsonrpc.json) |
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/reference/languages/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ Runtime `typescript`.
| envelope <br><sub>`envelope`</sub> | a response's outcome: ok with a payload, an error ordinal with its body, or a provider fault | ✅ supported | [8 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/envelope.json) |
| datagram framing <br><sub>`framing-datagram`</sub> | Comline's own binary framing of requests and responses | ✅ supported | [12 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram.json) |
| datagram@2 framing <br><sub>`framing-datagram2`</sub> | the datagram framing with a request/reply kind and a protocol number, for calls in both directions and several protocols on one connection | ✅ supported | [16 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram2.json) |
| datagram@3 framing <br><sub>`framing-datagram3`</sub> | the datagram framing that addresses a call by its protocol's and function's wire numbers, both varints (calls = by_id); replies as datagram@2 | ✅ supported | [18 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram3.json) |
| datagram@3 framing <br><sub>`framing-datagram3`</sub> | the datagram framing that addresses a call by its protocol's and function's wire numbers, both varints (calls = by_id); replies as datagram@2 | ✅ supported | [19 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-datagram3.json) |
| comline@2 handshake <br><sub>`handshake-comline2`</sub> | the compatibility-checking handshake: its hello, answer and verdict messages, and its negotiation steps under every parameter, with every refusal reason | ❌ unsupported: Comline2Handshake runs on the Comline core (ABI 0.2), whose C and Node replays in the runtime repo prove these vectors; this harness doesn't drive the core's steps itself yet | — |
| stream framing <br><sub>`stream`</sub> | frames on a byte stream (TCP, a pipe): each behind a u32 little-endian length prefix, refused over the limit, by default 16 MiB (16777216 bytes) in every runtime | ❌ unsupported: no length-prefixed framing or frame limit yet: the transports are message-oriented ([comline-typescript#80](https://github.com/ComlineProject/comline-typescript/issues/80)) | — |
| JSON-RPC framing <br><sub>`framing-jsonrpc`</sub> | JSON-RPC 2.0 requests and responses, a fault as -32603 | ✅ supported | [62 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/framing-jsonrpc.json) |
| JSON wire format <br><sub>`format-json`</sub> | values as UTF-8 JSON: a struct as an object | 🟡 partial: decoding doesn't check enum variants or integer ranges ([comline-typescript#57](https://github.com/ComlineProject/comline-typescript/issues/57)) <br>fails: `format-json/decode-unknown-variant`, `format-json/decode-wider-integer-overflow` | [94 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/format-json.json) |
| MessagePack wire format <br><sub>`format-msgpack`</sub> | values as MessagePack: a struct as an array | ❌ unsupported: JSON and packed@1 ship | — |
| packed wire format <br><sub>`format-packed`</sub> | values as packed@1: fixed-width fields back to back, varint lengths, no tags | ✅ supported | [110 cases](https://github.com/ComlineProject/runtime/blob/main/runtime/conformance/spec/vectors/format-packed.json) |
| packed sizes <br><sub>`sizes-packed`</sub> | how many bytes each kind of value takes in packed@1, each rule proven by values written to exactly its minimum and maximum | ❔ not reported | — |
| MessagePack sizes <br><sub>`sizes-msgpack`</sub> | how many bytes each kind of value takes in msgpack@1, each rule proven by values written to exactly its minimum and maximum | ❔ not reported | — |
| JSON sizes <br><sub>`sizes-json`</sub> | how many bytes each kind of value takes in json@1, each rule proven by values written to exactly its minimum and maximum, or by a declared upper bound | ❔ not reported | — |
| packed sizes <br><sub>`sizes-packed`</sub> | how many bytes each kind of value takes in packed@1, each rule proven by values written to exactly its minimum and maximum | ❌ unsupported: no exact encoded size yet: the encoders don't report how many bytes a value takes ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) | — |
| MessagePack sizes <br><sub>`sizes-msgpack`</sub> | how many bytes each kind of value takes in msgpack@1, each rule proven by values written to exactly its minimum and maximum | ❌ unsupported: no exact encoded size yet, and msgpack@1 itself doesn't ship ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) | — |
| JSON sizes <br><sub>`sizes-json`</sub> | how many bytes each kind of value takes in json@1, each rule proven by values written to exactly its minimum and maximum, or by a declared upper bound | ❌ unsupported: no exact encoded size or upper bound yet: the encoder doesn't report how many bytes a value takes ([comline-typescript#162](https://github.com/ComlineProject/comline-typescript/issues/162)) | — |

<!-- runtime:end -->

Expand Down
Loading