Trivernis
8685bcbab8
Shorten emitting and reply awaiting to implement Future for metadata
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
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
5ab864006a
Fix PooledContext not implementing Clone
...
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
6299f9be02
Change serialization to be able to use multiple formats
...
Signed-off-by: trivernis <trivernis@protonmail.com>
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
2cc956f1e9
Add bincode serde support
...
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
cda472d3a9
Add event call assertions in tests
...
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
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
trivernis
904a93d78f
Change tandem payload to support payloads greater than 4 GiB
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
628573f051
Add reply listen timeouts
...
Signed-off-by: trivernis <trivernis@protonmail.com>
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
trivernis
9497990fb7
Add more restritions to protocol trait to be Send + Sync
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b0736c59ef
Increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b55c6e526b
Add AsyncStreamProtocol trait with subtraits
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f35908815c
Add TandemPayload to store multiple payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
94c1a7471a
Add connection pooling by creating multiple clients
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
cfc158dcb8
Change to return Err when an awaited response is an error response
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
c5e4ccc5ce
Increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
8b6f94c6d7
Change github cache restore and increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
3b7dd510d8
Replace log with tracing crate
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
adea767aa0
Add event deserialization benchmark
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
dcd346e0c7
Add event serialization benchmark
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
a76e41850d
Change event serialization to not serialize the data twice
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
0d8d66100d
Introduce EventSendPayload for more flexibility of payload serialisation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f57b683cb4
Add events macro and change provider to provide static strings
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
21d8f7afcd
Add namespaces from structs and restructure exports
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6509b6619d
Add callback macro
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
e4727affe6
Add stop function to context
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6cb1fb7eba
Add more logging
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
79567d03de
Expose namespace and builder type
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
49f14d5551
Increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6e5b5f01b1
Merge branch 'main' into develop
3 years ago
trivernis
0805d0403a
Add additional data to context
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2a5d33d70d
Increment version
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
5afd48a8a6
Update dependencies
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago