Commit Graph

15 Commits (af19935167f4b8566c8850f1a67bf5ac1b5ea2c8)
 

Author SHA1 Message Date
Avril af19935167
Attempted specialisation. Failed.
4 years ago
Avril ab97278dbd
Added `subtrait!` macro for creating a blanket-impl trait that ``inherits" from one or more different traits in a few different ways (normal -> `Sized` types only, `dyn`: Sized and unsized types , `virtual`: Sized and unsized types, downcastable.)
4 years ago
Avril 2308b61b58 Start: Raw socket handling function
4 years ago
Avril d3c43b323b
Added task cancelling module
4 years ago
Avril c98f1c5c6c Added message header accessors.
4 years ago
Avril 2931a3e8cb
Moved message tests to own file.
4 years ago
Avril 674c7a1171
Sign & Encrypt tests working okay
4 years ago
Avril 101ce28602
Encrypt + Sign tests work.
4 years ago
Avril 226901861a
Start adding stack-allocation helper functions. (ext.rs)
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 36f3ed4586
Abstracted message serialisation test code.
4 years ago
Avril 1f2655a7f2
Basic message de/serialisation test passes. (Value -> Message -> SerializedMessage -> Bytes -> SerializedMessage -> Message -> Value). No encryption tests yet.
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