159 Commits (develop)
 

Author SHA1 Message Date
trivernis 87a3abe213
Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years 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 c390ec41c1 Improve the README
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 58ae10bdc9 Change runner for linting to ubuntu only
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 9912622dc1 Add clippy task and fix antipattern
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 aedf7c4ba2
Add option to configure the TCP ttl
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 ca264abae8
Improve test protocol
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 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