trivernis
ae52798cd0
Replace hashmap for replies with dashmap
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
5a0c829602
Feature gate encryption feature
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ef99adfee1
Fix issues with encryption writers
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fe7dc97008
Add encrypted wrapper protocol implementation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ac471d296e
Change internal bytes representation to Bytes object from bytes crate
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ca264abae8
Improve test protocol
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
54cd0fbcc8
Switch from typemap_rev to trait-bound-typemap for context data
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6ac3ac2459
Fix tests for messagepack
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9cc7d1ffe8
Add asynchronous response streams
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
619a0173f0
Fix style issues
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2527763494
Fix compile errors
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fbee60e64b
Change handler result to contain a response
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
4803a655d7
Introduce event types
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
8685bcbab8
Shorten emitting and reply awaiting to implement Future for metadata
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
248fb403d5
Add event based timeout support
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2a9426badc
Add more serialization tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f189fe11f0
Add FromPayload implementation for DeserializeOwned
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
324a788031
Change how replies are emitted
...
All events that are emitted inside a handler function are seen
as replies to the event that called the handler.
The FromPayloadBytes and ToPayloadBytes traits have been renamed
to FromPayload and IntoPayload. The IntoPayload trait passes the
context in its arguments to allow serializable structures to be
serialized by the default serializer.
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f2606b4704
Add IntoSerdePayload trait
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
639db8fc87
Update tests to be supported by messagepack
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fb62135f86
Add tests for all payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6299f9be02
Change serialization to be able to use multiple formats
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
bf5a593377
Move serialization implementation and rename messagepack feature to serialize_rmp
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
38fb1ee16a
Add tests for payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
5b54140011
Add tests for namespace and restructure tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
8146fe8446
Add more tests and descriptions for tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
cda472d3a9
Add event call assertions in tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f70563d099
Improve test protocol by using some unsafe magic
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9e7cd26f6a
Add integration tests with custom protocol
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago