Commit Graph

15 Commits (ed69a8f1873e35adfdb98cc8705c3f711016b466)

Author SHA1 Message Date
Avril 20bf0f1649
Removed install of a panic hook in unit test
4 years ago
Avril 538080a6f1 Added MAX_BODY_SIZE
4 years ago
Avril cf71fe20ab
Set `StackVec` stack size to 2KB (from 4KB).
4 years ago
Avril 37a00d1099
Improved de/serialise error messages
4 years ago
Avril 46cd0e4a9f
from_buffer(): Implemented.
4 years ago
Avril 52d19c730b
Start reworking SerializedMessage -> binary pipeline.
4 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>()`.
4 years ago
Avril c286708bff
Start: `UntypedMessageValue` for unsafe casting of `SerializedMessage`s
4 years ago
Avril 7765c33070
Moved `MessageValue` to own file
4 years ago
Avril 2931a3e8cb
Moved message tests to own file.
4 years ago
Avril 101ce28602
Encrypt + Sign tests work.
4 years ago
Avril 4877a843bd
Added `DefaultMessageSender`, `DefaultMessageReceiver`, `DefaultMessageSenderReceiver` types, which function the same as `()` for the cases of the trait(s) that they implement.
4 years ago
Avril 3e59440609 Message de/serial test written (currently failing due to serde_cbor being greedy when deserialising from reader)
4 years ago
Avril c41d5c2c28
Added `SerializedMessage::from_reader()` (reading untrusted messages)
4 years ago
Avril 9142244bca
Started `Message` protocol.
4 years ago