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
trivernis
9e7cd26f6a
Add integration tests with custom protocol
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
be869a7faa
Move messagepack to features and implement raw byte protocol for serialisation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
005a4bfc68
Remove generic bounds from Context, Namespace and EventEmitter
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
8fc1a4eecc
Fix benchmarks
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f6a0bd7d7c
Merge branch 'main' of github.com:Trivernis/bromine
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b96119429e
Rename project to bromine
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
3b7299d4b4
Merge pull request #23 from Trivernis/develop
...
Change tandem payload to support payloads greater than 4 GiB
3 years ago
trivernis
904a93d78f
Change tandem payload to support payloads greater than 4 GiB
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
f527ce0a03
Merge pull request #22 from Trivernis/develop
...
Add reply listen timeouts
3 years ago
trivernis
628573f051
Add reply listen timeouts
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
0c65dede74
Merge pull request #21 from Trivernis/develop
...
Remove debug requirement for emitted payloads since its not used anyway
3 years ago
trivernis
7b0413704c
Remove debug requirement for emitted payloads since its not used anyway
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago