65 Commits (ef99adfee183440dd66ddb157156ce952158dca0)

Author SHA1 Message Date
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 54cd0fbcc8
Switch from typemap_rev to trait-bound-typemap for context data
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b57dea5bb4
Change insert_all to accept all kinds of into_iterator implementations
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5c77d3cd28
Fix typemap dependency
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6f19a63090
Change typemap_rev to git version and add insert_all to builder
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5e239e1555
Update dependencies
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 18412c4a2f
Increment version
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 4803a655d7
Introduce event types
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 6cf46322c4
Fix missing Send + Sync Markers on Metadata
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 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 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 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 48a3838cb0
Add setup stage to benchmarks
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