trivernis
5e239e1555
Update dependencies
...
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
597b67eb75
Update dependencies
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9586ed6d36
Fix further performance issues
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
1effb4f6c9
Replace one unwrap_or with unwrap_or_else
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
18412c4a2f
Increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
38342eac44
Fix dangling response listeners
...
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
e316d29807
Move emit metadata to separate modules
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
51f53e7fbe
Fix errors in benchmarks
...
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
2fa63da081
Change error events to be identified by event type and not by name
...
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
DeepSource Bot
782cc1f460
Add .deepsource.toml
3 years ago
Julius Riegel
1d59661e91
Merge pull request #31 from Trivernis/develop
...
Fix missing Send + Sync Markers on Metadata
3 years ago
Trivernis
6cf46322c4
Fix missing Send + Sync Markers on Metadata
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
2aeff8eb0e
Merge pull request #30 from Trivernis/develop
...
Improved API
3 years ago
Trivernis
bca5b90d57
Remove some dirty unwraps
...
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
Julius Riegel
e3536c1c0a
Merge pull request #29 from Trivernis/develop
...
Add event reply based timeouts
3 years ago
Trivernis
b4ab4fee80
Increment version
...
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
Julius Riegel
b848c62f02
Merge pull request #28 from Trivernis/develop
...
Fix PooledContext not implementing Clone
3 years ago
trivernis
5ab864006a
Fix PooledContext not implementing Clone
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
62d0ad1821
Merge pull request #27 from Trivernis/develop
...
Add IntoSerdePayload trait
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
Julius Riegel
e3860618f5
Merge pull request #26 from Trivernis/develop
...
Rewrite format handling
3 years ago
trivernis
4f1884f2af
Add specification
...
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
e485a81c4c
Update github test action
...
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
d1b426e10b
Add event format version validation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
ddf6e03ba2
Merge pull request #25 from Trivernis/develop
...
More serialization formats and change in feature names
3 years ago
trivernis
67f9ae2b6b
Add json serde support
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
bb7534d333
Add postcard serde support
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
558a2cc6a7
Fix benchmark task
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2cc956f1e9
Add bincode serde support
...
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
Julius Riegel
332461ac7c
Merge pull request #24 from Trivernis/develop
...
Remove useless generic bounds
3 years ago