diff --git a/docs/docs/reference/languages/index.md b/docs/docs/reference/languages/index.md index 43131a3..aa274df 100644 --- a/docs/docs/reference/languages/index.md +++ b/docs/docs/reference/languages/index.md @@ -119,9 +119,9 @@ commit. A runtime's suite runs every example against it: | JSON wire format
`format-json` | ✅ 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
`format-msgpack` | ✅ supported | ❌ unsupported: JSON and packed@1 ship | | packed wire format
`format-packed` | ✅ supported | ✅ supported | -| packed sizes
`sizes-packed` | ✅ supported | ❔ not reported | -| MessagePack sizes
`sizes-msgpack` | ✅ supported | ❔ not reported | -| JSON sizes
`sizes-json` | ✅ supported | ❔ not reported | +| packed sizes
`sizes-packed` | ✅ 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
`sizes-msgpack` | ✅ 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
`sizes-json` | ✅ 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)) | diff --git a/docs/docs/reference/languages/rust.md b/docs/docs/reference/languages/rust.md index c7d05b9..c4ddf25 100644 --- a/docs/docs/reference/languages/rust.md +++ b/docs/docs/reference/languages/rust.md @@ -67,7 +67,7 @@ Runtime `rust`. | envelope
`envelope` | 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
`framing-datagram` | 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
`framing-datagram2` | 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
`framing-datagram3` | 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
`framing-datagram3` | 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
`handshake-comline2` | 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
`stream` | 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
`framing-jsonrpc` | 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) | diff --git a/docs/docs/reference/languages/typescript.md b/docs/docs/reference/languages/typescript.md index 80f9983..d8761f5 100644 --- a/docs/docs/reference/languages/typescript.md +++ b/docs/docs/reference/languages/typescript.md @@ -67,16 +67,16 @@ Runtime `typescript`. | envelope
`envelope` | 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
`framing-datagram` | 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
`framing-datagram2` | 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
`framing-datagram3` | 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
`framing-datagram3` | 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
`handshake-comline2` | 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
`stream` | 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
`framing-jsonrpc` | 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
`format-json` | 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))
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
`format-msgpack` | values as MessagePack: a struct as an array | ❌ unsupported: JSON and packed@1 ship | — | | packed wire format
`format-packed` | 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
`sizes-packed` | 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
`sizes-msgpack` | 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
`sizes-json` | 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
`sizes-packed` | 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
`sizes-msgpack` | 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
`sizes-json` | 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)) | — |