Commit Graph

15 Commits (master)

Author SHA1 Message Date
Avril 538080a6f1 Added MAX_BODY_SIZE
3 years ago
Avril 52d19c730b
Start reworking SerializedMessage -> binary pipeline.
3 years ago
Avril 6afb148068 Added `UntypedSerializedMessage`: A `SerializedMessage` whos original value type has been erased. A `SerializedMessage<V>` can be converted into this with `.into_untyped()`, and can be converted back with the `unsafe` function `into_typed<V>()`.
3 years ago
Avril c286708bff
Start: `UntypedMessageValue` for unsafe casting of `SerializedMessage`s
3 years ago
Avril 7765c33070
Moved `MessageValue` to own file
3 years ago
Avril d3c43b323b
Added task cancelling module
3 years ago
Avril c98f1c5c6c Added message header accessors.
3 years ago
Avril 2931a3e8cb
Moved message tests to own file.
3 years ago
Avril 674c7a1171
Sign & Encrypt tests working okay
3 years ago
Avril 101ce28602
Encrypt + Sign tests work.
3 years ago
Avril 36f3ed4586
Abstracted message serialisation test code.
3 years ago
Avril 1f2655a7f2
Basic message de/serialisation test passes. (Value -> Message -> SerializedMessage -> Bytes -> SerializedMessage -> Message -> Value). No encryption tests yet.
3 years ago
Avril 3e59440609 Message de/serial test written (currently failing due to serde_cbor being greedy when deserialising from reader)
3 years ago
Avril c41d5c2c28
Added `SerializedMessage::from_reader()` (reading untrusted messages)
3 years ago
Avril 9142244bca
Started `Message` protocol.
3 years ago