62 Commits (v0.22.0)

Author SHA1 Message Date
trivernis 5bf368e568
chore: Release bromine version 0.22.0 9 months ago
trivernis 1ae44a8053
Update dependencies 9 months ago
trivernis b53c2f6c39
Merge branch 'develop' of github.com:Trivernis/bromine into develop
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8e1f2327f7
Add public key validation to encryption layer options
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 7e54755c56 Fix clippy errors and missing rt feature
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
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 54cd0fbcc8
Switch from typemap_rev to trait-bound-typemap for context data
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 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